@Generated(value="software.amazon.awssdk:codegen") public final class FailureDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailureDetails.Builder,FailureDetails>
Represents information about failure details.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FailureDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FailureDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalExecutionId()
The external ID of the run of the action that failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message about the failure.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FailureDetails.Builder> |
serializableBuilderClass() |
FailureDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FailureType |
type()
The type of the failure.
|
String |
typeAsString()
The type of the failure.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FailureType type()
The type of the failure.
If the service returns an enum value that is not available in the current SDK version, type will return
FailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FailureTypepublic final String typeAsString()
The type of the failure.
If the service returns an enum value that is not available in the current SDK version, type will return
FailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FailureTypepublic final String message()
The message about the failure.
public final String externalExecutionId()
The external ID of the run of the action that failed.
public FailureDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FailureDetails.Builder,FailureDetails>public static FailureDetails.Builder builder()
public static Class<? extends FailureDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.