Interface RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder

    • Method Detail

      • workflowId

        RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder workflowId​(String workflowId)

        The workflowId of the external workflow to which the cancel request was to be delivered.

        Parameters:
        workflowId - The workflowId of the external workflow to which the cancel request was to be delivered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • initiatedEventId

        RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder initiatedEventId​(Long initiatedEventId)

        The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        initiatedEventId - The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow 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.
      • decisionTaskCompletedEventId

        RequestCancelExternalWorkflowExecutionFailedEventAttributes.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

        RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder control​(String control)

        The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

        Parameters:
        control - The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.