public class DecisionTaskStartedEventAttributes extends Object implements Serializable
Provides details of the DecisionTaskStarted
event.
Constructor and Description |
---|
DecisionTaskStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentity()
Identity of the decider making the request.
|
Long |
getScheduledEventId()
The id of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
int |
hashCode() |
void |
setIdentity(String identity)
Identity of the decider making the request.
|
void |
setScheduledEventId(Long scheduledEventId)
The id of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DecisionTaskStartedEventAttributes |
withIdentity(String identity)
Identity of the decider making the request.
|
DecisionTaskStartedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The id of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
public String getIdentity()
Constraints:
Length: 0 - 256
public void setIdentity(String identity)
Constraints:
Length: 0 - 256
identity
- 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(String identity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
identity
- Identity of the decider making the request. This enables diagnostic
tracing when problems arise. The form of this identity is user
defined.public Long getScheduledEventId()
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 void setScheduledEventId(Long scheduledEventId)
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 DecisionTaskStartedEventAttributes withScheduledEventId(Long scheduledEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.