Interface TimerCanceledEventAttributes.Builder

    • Method Detail

      • timerId

        TimerCanceledEventAttributes.Builder timerId​(String timerId)

        The unique ID of the timer that was canceled.

        Parameters:
        timerId - The unique ID of the timer that was canceled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedEventId

        TimerCanceledEventAttributes.Builder startedEventId​(Long startedEventId)

        The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        startedEventId - The ID of the TimerStarted event that was recorded when this timer was started. 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

        TimerCanceledEventAttributes.Builder decisionTaskCompletedEventId​(Long decisionTaskCompletedEventId)

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