Class ChildWorkflowExecutionFailedEventAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.ChildWorkflowExecutionFailedEventAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChildWorkflowExecutionFailedEventAttributes.Builder,ChildWorkflowExecutionFailedEventAttributes>
@Generated("software.amazon.awssdk:codegen") public final class ChildWorkflowExecutionFailedEventAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChildWorkflowExecutionFailedEventAttributes.Builder,ChildWorkflowExecutionFailedEventAttributes>
Provides the details of the
ChildWorkflowExecutionFailedevent.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChildWorkflowExecutionFailedEventAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChildWorkflowExecutionFailedEventAttributes.Builderbuilder()Stringdetails()The details of the failure (if provided).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonginitiatedEventId()The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision to start this child workflow execution.Stringreason()The reason for the failure (if provided).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ChildWorkflowExecutionFailedEventAttributes.Builder>serializableBuilderClass()LongstartedEventId()The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.ChildWorkflowExecutionFailedEventAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.WorkflowExecutionworkflowExecution()The child workflow execution that failed.WorkflowTypeworkflowType()The type of the child workflow execution.-
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
-
workflowExecution
public final WorkflowExecution workflowExecution()
The child workflow execution that failed.
- Returns:
- The child workflow execution that failed.
-
workflowType
public final WorkflowType workflowType()
The type of the child workflow execution.
- Returns:
- The type of the child workflow execution.
-
reason
public final String reason()
The reason for the failure (if provided).
- Returns:
- The reason for the failure (if provided).
-
details
public final String details()
The details of the failure (if provided).
- Returns:
- The details of the failure (if provided).
-
initiatedEventId
public final Long initiatedEventId()
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
startedEventId
public final Long startedEventId()
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
toBuilder
public ChildWorkflowExecutionFailedEventAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChildWorkflowExecutionFailedEventAttributes.Builder,ChildWorkflowExecutionFailedEventAttributes>
-
builder
public static ChildWorkflowExecutionFailedEventAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChildWorkflowExecutionFailedEventAttributes.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
-
-