Interface TimerStartedEventAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TimerStartedEventAttributes.Builder,TimerStartedEventAttributes>, SdkBuilder<TimerStartedEventAttributes.Builder,TimerStartedEventAttributes>, SdkPojo
Enclosing class:
TimerStartedEventAttributes

public static interface TimerStartedEventAttributes.Builder extends SdkPojo, CopyableBuilder<TimerStartedEventAttributes.Builder,TimerStartedEventAttributes>
  • Method Details

    • 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

      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.