Class ExperimentState
- java.lang.Object
-
- software.amazon.awssdk.services.fis.model.ExperimentState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExperimentState.Builder,ExperimentState>
@Generated("software.amazon.awssdk:codegen") public final class ExperimentState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExperimentState.Builder,ExperimentState>
Describes the state of an experiment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExperimentState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExperimentState.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExperimentErrorerror()The error information of the experiment when the action hasfailed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringreason()The reason for the state.List<SdkField<?>>sdkFields()static Class<? extends ExperimentState.Builder>serializableBuilderClass()ExperimentStatusstatus()The state of the experiment.StringstatusAsString()The state of the experiment.ExperimentState.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public final ExperimentStatus status()
The state of the experiment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnExperimentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The state of the experiment.
- See Also:
ExperimentStatus
-
statusAsString
public final String statusAsString()
The state of the experiment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnExperimentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The state of the experiment.
- See Also:
ExperimentStatus
-
reason
public final String reason()
The reason for the state.
- Returns:
- The reason for the state.
-
error
public final ExperimentError error()
The error information of the experiment when the action has
failed.- Returns:
- The error information of the experiment when the action has
failed.
-
toBuilder
public ExperimentState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExperimentState.Builder,ExperimentState>
-
builder
public static ExperimentState.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExperimentState.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-