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 String getTimerId()
Constraints:
Length: 1 - 256
public void setTimerId(String timerId)
Constraints:
Length: 1 - 256
timerId
- The unique ID of the timer that was started.public TimerStartedEventAttributes withTimerId(String timerId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
timerId
- The unique ID of the timer that was started.public String getControl()
Constraints:
Length: 0 - 32768
public void setControl(String control)
Constraints:
Length: 0 - 32768
control
- Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.public TimerStartedEventAttributes withControl(String control)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
control
- Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.public String getStartToFireTimeout()
The duration is specified in seconds; an integer greater than or equal to 0.
Constraints:
Length: 1 - 8
The duration is specified in seconds; an integer greater than or equal to 0.
public void setStartToFireTimeout(String startToFireTimeout)
The duration is specified in seconds; an integer greater than or equal to 0.
Constraints:
Length: 1 - 8
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 TimerStartedEventAttributes withStartToFireTimeout(String startToFireTimeout)
The duration is specified in seconds; an integer greater than or equal to 0.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8
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 Long getDecisionTaskCompletedEventId()
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 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 TimerStartedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 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 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 © 2015. All rights reserved.