Interface WorkflowExecutionFailedEventAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkflowExecutionFailedEventAttributes.Builder,WorkflowExecutionFailedEventAttributes>,SdkBuilder<WorkflowExecutionFailedEventAttributes.Builder,WorkflowExecutionFailedEventAttributes>,SdkPojo
- Enclosing class:
- WorkflowExecutionFailedEventAttributes
@Mutable @NotThreadSafe public static interface WorkflowExecutionFailedEventAttributes.Builder extends SdkPojo, CopyableBuilder<WorkflowExecutionFailedEventAttributes.Builder,WorkflowExecutionFailedEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowExecutionFailedEventAttributes.BuilderdecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theFailWorkflowExecutiondecision to fail this execution.WorkflowExecutionFailedEventAttributes.Builderdetails(String details)The details of the failure.WorkflowExecutionFailedEventAttributes.Builderreason(String reason)The descriptive reason provided for the failure.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reason
WorkflowExecutionFailedEventAttributes.Builder reason(String reason)
The descriptive reason provided for the failure.
- Parameters:
reason- The descriptive reason provided for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
WorkflowExecutionFailedEventAttributes.Builder details(String details)
The details of the failure.
- Parameters:
details- The details of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisionTaskCompletedEventId
WorkflowExecutionFailedEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theFailWorkflowExecutiondecision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theFailWorkflowExecutiondecision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-