public class TimerStartedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the TimerStarted
event.
Constructor and Description |
---|
TimerStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
TimerStartedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getControl()
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the StartTimer decision
for this activity task. |
String |
getStartToFireTimeout()
The duration of time after which the timer will fire.
|
String |
getTimerId()
The unique ID of the timer that was started.
|
int |
hashCode() |
void |
setControl(String control)
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the StartTimer decision
for this activity task. |
void |
setStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.
|
void |
setTimerId(String timerId)
The unique ID of the timer that was started.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimerStartedEventAttributes |
withControl(String control)
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
TimerStartedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the StartTimer decision
for this activity task. |
TimerStartedEventAttributes |
withStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.
|
TimerStartedEventAttributes |
withTimerId(String timerId)
The unique ID of the timer that was started.
|
public void setTimerId(String timerId)
The unique ID of the timer that was started.
timerId
- The unique ID of the timer that was started.public String getTimerId()
The unique ID of the timer that was started.
public TimerStartedEventAttributes withTimerId(String timerId)
The unique ID of the timer that was started.
timerId
- The unique ID of the timer that was started.public void setControl(String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
control
- Optional.public String getControl()
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
public TimerStartedEventAttributes withControl(String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
control
- Optional.public void setStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.
The duration is specified in seconds; an integer greater than or equal to 0.
startToFireTimeout
- The duration of time after which the timer will fire.
The duration is specified in seconds; an integer greater than or equal to 0.
public String getStartToFireTimeout()
The duration of time after which the timer will fire.
The duration is specified in seconds; an integer greater than or equal to 0.
The duration is specified in seconds; an integer greater than or equal to 0.
public TimerStartedEventAttributes withStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.
The duration is specified in seconds; an integer greater than or equal to 0.
startToFireTimeout
- The duration of time after which the timer will fire.
The duration is specified in seconds; an integer greater than or equal to 0.
public void setDecisionTaskCompletedEventId(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.
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.public Long getDecisionTaskCompletedEventId()
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.
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.public TimerStartedEventAttributes withDecisionTaskCompletedEventId(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.
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.public String toString()
toString
in class Object
Object.toString()
public TimerStartedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.