@Generated(value="software.amazon.awssdk:codegen") public final class FailureDetails extends Object implements StructuredPojo, 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) |
String |
externalExecutionId()
The external ID of the run of the action that failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The message about the failure.
|
static Class<? extends FailureDetails.Builder> |
serializableBuilderClass() |
FailureDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
FailureType |
type()
The type of the failure.
|
String |
typeAsString()
The type of the failure.
|
copy
public 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()
.
FailureType
public 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()
.
FailureType
public String message()
The message about the failure.
public String externalExecutionId()
The external ID of the run of the action that failed.
public FailureDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FailureDetails.Builder,FailureDetails>
public static FailureDetails.Builder builder()
public static Class<? extends FailureDetails.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.