Interface TimerStartedEventAttributes.Builder

    • Method Detail

      • timerId

        TimerStartedEventAttributes.Builder timerId​(String timerId)

        The unique ID of the timer that was started.

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

        TimerStartedEventAttributes.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.
      • startToFireTimeout

        TimerStartedEventAttributes.Builder startToFireTimeout​(String startToFireTimeout)

        The duration of time after which the timer fires.

        The duration is specified in seconds, an integer greater than or equal to 0.

        Parameters:
        startToFireTimeout - The duration of time after which the timer fires.

        The duration is specified in seconds, an integer greater than or equal to 0.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decisionTaskCompletedEventId

        TimerStartedEventAttributes.Builder decisionTaskCompletedEventId​(Long decisionTaskCompletedEventId)

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