@Generated(value="software.amazon.awssdk:codegen") public final class ExperimentState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExperimentState.Builder,ExperimentState>
Describes the state of an experiment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExperimentState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExperimentState.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
reason()
The reason for the state.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExperimentState.Builder> |
serializableBuilderClass() |
ExperimentStatus |
status()
The state of the experiment.
|
String |
statusAsString()
The state of the experiment.
|
ExperimentState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ExperimentStatus status()
The state of the experiment.
If the service returns an enum value that is not available in the current SDK version, status will
return ExperimentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ExperimentStatuspublic final String statusAsString()
The state of the experiment.
If the service returns an enum value that is not available in the current SDK version, status will
return ExperimentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ExperimentStatuspublic final String reason()
The reason for the state.
public ExperimentState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExperimentState.Builder,ExperimentState>public static ExperimentState.Builder builder()
public static Class<? extends ExperimentState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.