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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimerStartedEventAttributes.Builder
control(String control)
Data attached to the event that can be used by the decider in subsequent workflow tasks.TimerStartedEventAttributes.Builder
decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision for this activity task.TimerStartedEventAttributes.Builder
startToFireTimeout(String startToFireTimeout)
The duration of time after which the timer fires.TimerStartedEventAttributes.Builder
timerId(String timerId)
The unique ID of the timer that was started.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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 theStartTimer
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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
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.
-
-