Class LayerFailure
- java.lang.Object
-
- software.amazon.awssdk.services.ecrpublic.model.LayerFailure
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LayerFailure.Builder,LayerFailure>
@Generated("software.amazon.awssdk:codegen") public final class LayerFailure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LayerFailure.Builder,LayerFailure>
An object that represents an Amazon ECR image layer failure.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLayerFailure.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LayerFailure.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LayerFailureCodefailureCode()The failure code that's associated with the failure.StringfailureCodeAsString()The failure code that's associated with the failure.StringfailureReason()The reason for the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlayerDigest()The layer digest that's associated with the failure.List<SdkField<?>>sdkFields()static Class<? extends LayerFailure.Builder>serializableBuilderClass()LayerFailure.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
-
layerDigest
public final String layerDigest()
The layer digest that's associated with the failure.
- Returns:
- The layer digest that's associated with the failure.
-
failureCode
public final LayerFailureCode failureCode()
The failure code that's associated with the failure.
If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnLayerFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- The failure code that's associated with the failure.
- See Also:
LayerFailureCode
-
failureCodeAsString
public final String failureCodeAsString()
The failure code that's associated with the failure.
If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnLayerFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- The failure code that's associated with the failure.
- See Also:
LayerFailureCode
-
failureReason
public final String failureReason()
The reason for the failure.
- Returns:
- The reason for the failure.
-
toBuilder
public LayerFailure.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LayerFailure.Builder,LayerFailure>
-
builder
public static LayerFailure.Builder builder()
-
serializableBuilderClass
public static Class<? extends LayerFailure.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.
-
-