public class TimerCanceledEventAttributes extends Object implements Serializable, Cloneable
Provides details of the TimerCanceled
event.
Constructor and Description |
---|
TimerCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
TimerCanceledEventAttributes |
clone() |
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 void setTimerId(String timerId)
The unique ID of the timer that was canceled.
timerId
- The unique ID of the timer that was canceled.public String getTimerId()
The unique ID of the timer that was canceled.
public TimerCanceledEventAttributes withTimerId(String timerId)
The unique ID of the timer that was canceled.
timerId
- The unique ID of the timer that was canceled.public void setStartedEventId(Long 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.
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 getStartedEventId()
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.
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)
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.
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 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. 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
CancelTimer
decision to cancel this timer. 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 CancelTimer
decision
to cancel this timer. 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
CancelTimer
decision to cancel this timer. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public 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. 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
CancelTimer
decision to cancel this timer. 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 TimerCanceledEventAttributes clone()
Copyright © 2018. All rights reserved.