public class DecisionTaskStartedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the DecisionTaskStarted
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
identity
Identity of the decider making the request.
|
private java.lang.Long |
scheduledEventId
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
Constructor and Description |
---|
DecisionTaskStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
DecisionTaskStartedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentity()
Identity of the decider making the request.
|
java.lang.Long |
getScheduledEventId()
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
int |
hashCode() |
void |
setIdentity(java.lang.String identity)
Identity of the decider making the request.
|
void |
setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DecisionTaskStartedEventAttributes |
withIdentity(java.lang.String identity)
Identity of the decider making the request.
|
DecisionTaskStartedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the
DecisionTaskScheduled event that was recorded
when this decision task was scheduled. |
private java.lang.String identity
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
private java.lang.Long scheduledEventId
The ID of the DecisionTaskScheduled
event that was recorded
when this decision task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
public void setIdentity(java.lang.String identity)
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
identity
- Identity of the decider making the request. This enables
diagnostic tracing when problems arise. The form of this identity
is user defined.public java.lang.String getIdentity()
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
public DecisionTaskStartedEventAttributes withIdentity(java.lang.String identity)
Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
identity
- Identity of the decider making the request. This enables
diagnostic tracing when problems arise. The form of this identity
is user defined.public void setScheduledEventId(java.lang.Long scheduledEventId)
The ID of the DecisionTaskScheduled
event that was recorded
when this decision task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
scheduledEventId
- The ID of the DecisionTaskScheduled
event that was
recorded when this decision task was scheduled. This information
can be useful for diagnosing problems by tracing back the chain of
events leading up to this event.public java.lang.Long getScheduledEventId()
The ID of the DecisionTaskScheduled
event that was recorded
when this decision task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
DecisionTaskScheduled
event that was
recorded when this decision task was scheduled. This information
can be useful for diagnosing problems by tracing back the chain
of events leading up to this event.public DecisionTaskStartedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
The ID of the DecisionTaskScheduled
event that was recorded
when this decision task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
scheduledEventId
- The ID of the DecisionTaskScheduled
event that was
recorded when this decision task was scheduled. 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 DecisionTaskStartedEventAttributes clone()
clone
in class java.lang.Object