@Generated(value="software.amazon.awssdk:codegen") public final class LayerFailure extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LayerFailure.Builder> |
serializableBuilderClass() |
LayerFailure.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
LayerFailureCode
public 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()
.
LayerFailureCode
public String failureReason()
The reason for the failure.
public LayerFailure.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LayerFailure.Builder,LayerFailure>
public static LayerFailure.Builder builder()
public static Class<? extends LayerFailure.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.