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
Modifier and TypeMethodDescriptionData attached to the event that can be used by the decider in subsequent workflow tasks.decisionTaskCompletedEventId
(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision for this activity task.startToFireTimeout
(String startToFireTimeout) The duration of time after which the timer fires.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, sdkFields
-
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
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
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.
-