Interface WorkflowExecutionFailedEventAttributes.Builder

    • Method Detail

      • reason

        WorkflowExecutionFailedEventAttributes.Builder reason​(String 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.
      • 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.