Class ExperimentError
- java.lang.Object
-
- software.amazon.awssdk.services.fis.model.ExperimentError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExperimentError.Builder,ExperimentError>
@Generated("software.amazon.awssdk:codegen") public final class ExperimentError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExperimentError.Builder,ExperimentError>
Describes the error when an experiment has
failed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExperimentError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services Account ID where the experiment failure occurred.static ExperimentError.Builderbuilder()Stringcode()The error code for the failed experiment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()Context for the section of the experiment template that failed.List<SdkField<?>>sdkFields()static Class<? extends ExperimentError.Builder>serializableBuilderClass()ExperimentError.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
-
accountId
public final String accountId()
The Amazon Web Services Account ID where the experiment failure occurred.
- Returns:
- The Amazon Web Services Account ID where the experiment failure occurred.
-
code
public final String code()
The error code for the failed experiment.
- Returns:
- The error code for the failed experiment.
-
location
public final String location()
Context for the section of the experiment template that failed.
- Returns:
- Context for the section of the experiment template that failed.
-
toBuilder
public ExperimentError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExperimentError.Builder,ExperimentError>
-
builder
public static ExperimentError.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExperimentError.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.
-
-