@Generated(value="software.amazon.awssdk:codegen") public final class ImageFailure extends Object implements StructuredPojo, 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) |
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ImageFailure.Builder> |
serializableBuilderClass() |
ImageFailure.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
.
ImageFailureCode
public 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()
.
ImageFailureCode
public String failureReason()
The reason for the failure.
public ImageFailure.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ImageFailure.Builder,ImageFailure>
public static ImageFailure.Builder builder()
public static Class<? extends ImageFailure.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.