Class ImageFailure
java.lang.Object
software.amazon.awssdk.services.ecr.model.ImageFailure
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageFailure.Builder,ImageFailure>
@Generated("software.amazon.awssdk:codegen")
public final class ImageFailure
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ImageFailure.Builder,ImageFailure>
An object representing an Amazon ECR image failure.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageFailure.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final ImageFailureCodeThe code associated with the failure.final StringThe code associated with the failure.final StringThe reason for the failure.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ImageIdentifierimageId()The image ID associated with the failure.static Class<? extends ImageFailure.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
imageId
The image ID associated with the failure.
- Returns:
- The image ID associated with the failure.
-
failureCode
The code associated with the failure.
If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnImageFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- The code associated with the failure.
- See Also:
-
failureCodeAsString
The code associated with the failure.
If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnImageFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- The code associated with the failure.
- See Also:
-
failureReason
The reason for the failure.
- Returns:
- The reason for the failure.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageFailure.Builder,ImageFailure>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-