@Generated(value="software.amazon.awssdk:codegen") public class LayerFailure extends Object implements StructuredPojo, ToCopyableBuilder<LayerFailure.Builder,LayerFailure>
An object representing an Amazon ECR image layer failure.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LayerFailure.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LayerFailure.Builder |
builder() |
boolean |
equals(Object obj) |
LayerFailureCode |
failureCode()
The failure code associated with the failure.
|
String |
failureCodeAsString()
The failure code associated with the failure.
|
String |
failureReason()
The reason for the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
layerDigest()
The layer digest associated with the failure.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends LayerFailure.Builder> |
serializableBuilderClass() |
LayerFailure.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String layerDigest()
The layer digest associated with the failure.
public LayerFailureCode failureCode()
The failure code associated with the failure.
If the service returns an enum value that is not available in the current SDK version, failureCode will
return LayerFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
failureCodeAsString().
LayerFailureCodepublic String failureCodeAsString()
The failure code associated with the failure.
If the service returns an enum value that is not available in the current SDK version, failureCode will
return LayerFailureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
failureCodeAsString().
LayerFailureCodepublic String failureReason()
The reason for the failure.
public LayerFailure.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<LayerFailure.Builder,LayerFailure>public static LayerFailure.Builder builder()
public static Class<? extends LayerFailure.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.