Interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder

    • Method Detail

      • 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

        RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder control​(String 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.