Interface WorkflowExecutionCanceledEventAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<WorkflowExecutionCanceledEventAttributes.Builder,WorkflowExecutionCanceledEventAttributes>, SdkBuilder<WorkflowExecutionCanceledEventAttributes.Builder,WorkflowExecutionCanceledEventAttributes>, SdkPojo
Enclosing class:
WorkflowExecutionCanceledEventAttributes

public static interface WorkflowExecutionCanceledEventAttributes.Builder extends SdkPojo, CopyableBuilder<WorkflowExecutionCanceledEventAttributes.Builder,WorkflowExecutionCanceledEventAttributes>
  • Method Details

    • details

      The details of the cancellation.

      Parameters:
      details - The details of the cancellation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • decisionTaskCompletedEventId

      WorkflowExecutionCanceledEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)

      The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. 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 CancelWorkflowExecution decision for this cancellation request. 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.