Class Failure
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.Failure
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Failure.Builder,Failure>
@Generated("software.amazon.awssdk:codegen") public final class Failure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Failure.Builder,Failure>
A failed resource. For a list of common causes, see API failure reasons in the Amazon Elastic Container Service Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailure.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the failed resource.static Failure.Builderbuilder()Stringdetail()The details of the failure.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringreason()The reason for the failure.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Failure.Builder>serializableBuilderClass()Failure.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the failed resource.
- Returns:
- The Amazon Resource Name (ARN) of the failed resource.
-
reason
public final String reason()
The reason for the failure.
- Returns:
- The reason for the failure.
-
detail
public final String detail()
The details of the failure.
- Returns:
- The details of the failure.
-
toBuilder
public Failure.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Failure.Builder,Failure>
-
builder
public static Failure.Builder builder()
-
serializableBuilderClass
public static Class<? extends Failure.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-