public class TimerCanceledEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the TimerCanceled
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
decisionTaskCompletedEventId
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the CancelTimer decision
to cancel this timer. |
private java.lang.Long |
startedEventId
The ID of the
TimerStarted event that was recorded when this
timer was started. |
private java.lang.String |
timerId
The unique ID of the timer that was canceled.
|
Constructor and Description |
---|
TimerCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
TimerCanceledEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the CancelTimer decision
to cancel this timer. |
java.lang.Long |
getStartedEventId()
The ID of the
TimerStarted event that was recorded when this
timer was started. |
java.lang.String |
getTimerId()
The unique ID of the timer that was canceled.
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(java.lang.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(java.lang.Long startedEventId)
The ID of the
TimerStarted event that was recorded when this
timer was started. |
void |
setTimerId(java.lang.String timerId)
The unique ID of the timer that was canceled.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimerCanceledEventAttributes |
withDecisionTaskCompletedEventId(java.lang.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(java.lang.Long startedEventId)
The ID of the
TimerStarted event that was recorded when this
timer was started. |
TimerCanceledEventAttributes |
withTimerId(java.lang.String timerId)
The unique ID of the timer that was canceled.
|
private java.lang.String timerId
The unique ID of the timer that was canceled.
private java.lang.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.
private java.lang.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.
public void setTimerId(java.lang.String timerId)
The unique ID of the timer that was canceled.
timerId
- The unique ID of the timer that was canceled.public java.lang.String getTimerId()
The unique ID of the timer that was canceled.
public TimerCanceledEventAttributes withTimerId(java.lang.String timerId)
The unique ID of the timer that was canceled.
timerId
- The unique ID of the timer that was canceled.public void setStartedEventId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 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 TimerCanceledEventAttributes clone()
clone
in class java.lang.Object