Interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder

  • Method Details

    • workflowId

      The workflowId of the external workflow execution to be canceled.

      Parameters:
      workflowId - The workflowId of the external workflow execution to be canceled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runId

      The runId of the external workflow execution to be canceled.

      Parameters:
      runId - The runId of the external workflow execution to be canceled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • decisionTaskCompletedEventId

      RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)

      The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution 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 RequestCancelExternalWorkflowExecution 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.
    • control

      Data attached to the event that can be used by the decider in subsequent workflow tasks.

      Parameters:
      control - Data attached to the event that can be used by the decider in subsequent workflow tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.