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 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 the FailWorkflowExecution 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 the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution 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.