Class TaskFailedEventDetails
- java.lang.Object
-
- software.amazon.awssdk.services.sfn.model.TaskFailedEventDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskFailedEventDetails.Builder,TaskFailedEventDetails>
@Generated("software.amazon.awssdk:codegen") public final class TaskFailedEventDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskFailedEventDetails.Builder,TaskFailedEventDetails>
Contains details about a task failure event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskFailedEventDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskFailedEventDetails.Builderbuilder()Stringcause()A more detailed explanation of the cause of the failure.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringerror()The error code of the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringresource()The action of the resource called by a task state.StringresourceType()The service name of the resource in a task state.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TaskFailedEventDetails.Builder>serializableBuilderClass()TaskFailedEventDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceType
public final String resourceType()
The service name of the resource in a task state.
- Returns:
- The service name of the resource in a task state.
-
resource
public final String resource()
The action of the resource called by a task state.
- Returns:
- The action of the resource called by a task state.
-
error
public final String error()
The error code of the failure.
- Returns:
- The error code of the failure.
-
cause
public final String cause()
A more detailed explanation of the cause of the failure.
- Returns:
- A more detailed explanation of the cause of the failure.
-
toBuilder
public TaskFailedEventDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskFailedEventDetails.Builder,TaskFailedEventDetails>
-
builder
public static TaskFailedEventDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskFailedEventDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-