public class TimerFiredEventAttributes extends Object implements Serializable, Cloneable
Provides details of the TimerFired
event.
Constructor and Description |
---|
TimerFiredEventAttributes() |
Modifier and Type | Method and Description |
---|---|
TimerFiredEventAttributes |
clone() |
boolean |
equals(Object obj) |
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 fired.
|
int |
hashCode() |
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 fired.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimerFiredEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
TimerStarted event that was recorded when this
timer was started. |
TimerFiredEventAttributes |
withTimerId(String timerId)
The unique ID of the timer that fired.
|
public void setTimerId(String timerId)
The unique ID of the timer that fired.
timerId
- The unique ID of the timer that fired.public String getTimerId()
The unique ID of the timer that fired.
public TimerFiredEventAttributes withTimerId(String timerId)
The unique ID of the timer that fired.
timerId
- The unique ID of the timer that fired.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 TimerFiredEventAttributes 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 String toString()
toString
in class Object
Object.toString()
public TimerFiredEventAttributes clone()
Copyright © 2018. All rights reserved.