public class TimerFiredEventAttributes extends Object implements Serializable
Provides details of the TimerFired
event.
Constructor and Description |
---|
TimerFiredEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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 String getTimerId()
Constraints:
Length: 1 - 256
public void setTimerId(String timerId)
Constraints:
Length: 1 - 256
timerId
- The unique Id of the timer that fired.public TimerFiredEventAttributes 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 fired.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 TimerFiredEventAttributes 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.