Interface RequestCancelActivityTaskFailedEventAttributes.Builder

    • Method Detail

      • activityId

        RequestCancelActivityTaskFailedEventAttributes.Builder activityId​(String activityId)

        The activityId provided in the RequestCancelActivityTask decision that failed.

        Parameters:
        activityId - The activityId provided in the RequestCancelActivityTask decision that failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decisionTaskCompletedEventId

        RequestCancelActivityTaskFailedEventAttributes.Builder decisionTaskCompletedEventId​(Long decisionTaskCompletedEventId)

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