Interface WorkflowExecutionFailedEventAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowExecutionFailedEventAttributes.Builder,
,WorkflowExecutionFailedEventAttributes> SdkBuilder<WorkflowExecutionFailedEventAttributes.Builder,
,WorkflowExecutionFailedEventAttributes> SdkPojo
- Enclosing class:
WorkflowExecutionFailedEventAttributes
public static interface WorkflowExecutionFailedEventAttributes.Builder
extends SdkPojo, CopyableBuilder<WorkflowExecutionFailedEventAttributes.Builder,WorkflowExecutionFailedEventAttributes>
-
Method Summary
Modifier and TypeMethodDescriptiondecisionTaskCompletedEventId
(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theFailWorkflowExecution
decision to fail this execution.The details of the failure.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, sdkFields
-
Method Details
-
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
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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theFailWorkflowExecution
decision 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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theFailWorkflowExecution
decision 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.
-