public class TimerStartedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the TimerStarted
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
control
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
private java.lang.Long |
decisionTaskCompletedEventId
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the StartTimer decision
for this activity task. |
private java.lang.String |
startToFireTimeout
The duration of time after which the timer will fire.
|
private java.lang.String |
timerId
The unique ID of the timer that was started.
|
Constructor and Description |
---|
TimerStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
TimerStartedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getControl()
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
java.lang.Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the StartTimer decision
for this activity task. |
java.lang.String |
getStartToFireTimeout()
The duration of time after which the timer will fire.
|
java.lang.String |
getTimerId()
The unique ID of the timer that was started.
|
int |
hashCode() |
void |
setControl(java.lang.String control)
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(java.lang.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(java.lang.String startToFireTimeout)
The duration of time after which the timer will fire.
|
void |
setTimerId(java.lang.String timerId)
The unique ID of the timer that was started.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimerStartedEventAttributes |
withControl(java.lang.String control)
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
TimerStartedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.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(java.lang.String startToFireTimeout)
The duration of time after which the timer will fire.
|
TimerStartedEventAttributes |
withTimerId(java.lang.String timerId)
The unique ID of the timer that was started.
|
private java.lang.String timerId
The unique ID of the timer that was started.
private java.lang.String control
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
private java.lang.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.
private java.lang.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.
public void setTimerId(java.lang.String timerId)
The unique ID of the timer that was started.
timerId
- The unique ID of the timer that was started.public java.lang.String getTimerId()
The unique ID of the timer that was started.
public TimerStartedEventAttributes withTimerId(java.lang.String timerId)
The unique ID of the timer that was started.
timerId
- The unique ID of the timer that was started.public void setControl(java.lang.String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
control
- Optional.public java.lang.String getControl()
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
public TimerStartedEventAttributes withControl(java.lang.String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
control
- Optional.public void setStartToFireTimeout(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TimerStartedEventAttributes clone()
clone
in class java.lang.Object