public class TimerCanceledEventAttributes extends Object implements Serializable
Provides details of the TimerCanceled
event.
Constructor and Description |
---|
TimerCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getDecisionTaskCompletedEventId()
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. |
Long |
getStartedEventId()
The id of the
TimerStarted event that was recorded when
this timer was started. |
String |
getTimerId()
The unique Id of the timer that was canceled.
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. |
void |
setStartedEventId(Long startedEventId)
The id of the
TimerStarted event that was recorded when
this timer was started. |
void |
setTimerId(String timerId)
The unique Id of the timer that was canceled.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimerCanceledEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. |
TimerCanceledEventAttributes |
withStartedEventId(Long startedEventId)
The id of the
TimerStarted event that was recorded when
this timer was started. |
TimerCanceledEventAttributes |
withTimerId(String timerId)
The unique Id of the timer that was canceled.
|
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 canceled.public TimerCanceledEventAttributes 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 canceled.public Long getStartedEventId()
TimerStarted
event that was recorded when
this timer was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.TimerStarted
event that was recorded when
this timer was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.public void setStartedEventId(Long startedEventId)
TimerStarted
event that was recorded when
this timer was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.startedEventId
- The id of the TimerStarted
event that was recorded when
this timer was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.public TimerCanceledEventAttributes withStartedEventId(Long startedEventId)
TimerStarted
event that was recorded when
this timer was started. 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.
startedEventId
- The id of the TimerStarted
event that was recorded when
this timer was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.public Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.DecisionTaskCompleted
event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.decisionTaskCompletedEventId
- The id of the DecisionTaskCompleted
event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.public TimerCanceledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.
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 CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.