@Generated(value="software.amazon.awssdk:codegen") public final class LayerFailure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LayerFailure.Builder,LayerFailure>
An object that represents 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 that's associated with the failure.
|
String |
failureCodeAsString()
The failure code that's 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 that's 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, waitcopypublic final String layerDigest()
The layer digest that's associated with the failure.
public final LayerFailureCode failureCode()
The failure code that's 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 final String failureCodeAsString()
The failure code that's 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.