@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageFailure.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImageFailure.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ImageFailureCode |
failureCode()
The code associated with the failure.
|
String |
failureCodeAsString()
The code associated with the failure.
|
String |
failureReason()
The reason for the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImageIdentifier |
imageId()
The image ID associated with the failure.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImageFailure.Builder> |
serializableBuilderClass() |
ImageFailure.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ImageIdentifier imageId()
The image ID associated with the failure.
public ImageFailureCode failureCode()
The code associated with the failure.
If the service returns an enum value that is not available in the current SDK version, failureCode will
return ImageFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
failureCodeAsString().
ImageFailureCodepublic String failureCodeAsString()
The code associated with the failure.
If the service returns an enum value that is not available in the current SDK version, failureCode will
return ImageFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
failureCodeAsString().
ImageFailureCodepublic String failureReason()
The reason for the failure.
public ImageFailure.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImageFailure.Builder,ImageFailure>public static ImageFailure.Builder builder()
public static Class<? extends ImageFailure.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.