@Generated(value="software.amazon.awssdk:codegen") public final class Failure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Failure.Builder,Failure>
A failed resource. For a list of common causes, see API failure reasons in the Amazon Elastic Container Service Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Failure.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the failed resource.
|
static Failure.Builder |
builder() |
String |
detail()
The details of the failure.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
reason()
The reason for the failure.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Failure.Builder> |
serializableBuilderClass() |
Failure.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the failed resource.
public final String reason()
The reason for the failure.
public final String detail()
The details of the failure.
public Failure.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Failure.Builder,Failure>public static Failure.Builder builder()
public static Class<? extends Failure.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.