public class ActivityTaskStartedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the ActivityTaskStarted
event.
Constructor and Description |
---|
ActivityTaskStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskStartedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getIdentity()
Identity of the worker that was assigned this task.
|
Long |
getScheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
int |
hashCode() |
void |
setIdentity(String identity)
Identity of the worker that was assigned this task.
|
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskStartedEventAttributes |
withIdentity(String identity)
Identity of the worker that was assigned this task.
|
ActivityTaskStartedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
public void setIdentity(String identity)
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
identity
- Identity of the worker that was assigned this task. This aids
diagnostics when problems arise. The form of this identity is user
defined.public String getIdentity()
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
public ActivityTaskStartedEventAttributes withIdentity(String identity)
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
identity
- Identity of the worker that was assigned this task. This aids
diagnostics when problems arise. The form of this identity is user
defined.public void setScheduledEventId(Long scheduledEventId)
The ID of the ActivityTaskScheduled
event that was recorded
when this activity 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 ActivityTaskScheduled
event that was
recorded when this activity task was scheduled. This information
can be useful for diagnosing problems by tracing back the chain of
events leading up to this event.public Long getScheduledEventId()
The ID of the ActivityTaskScheduled
event that was recorded
when this activity task was scheduled. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
ActivityTaskScheduled
event that was
recorded when this activity task was scheduled. This information
can be useful for diagnosing problems by tracing back the chain
of events leading up to this event.public ActivityTaskStartedEventAttributes withScheduledEventId(Long scheduledEventId)
The ID of the ActivityTaskScheduled
event that was recorded
when this activity 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 ActivityTaskScheduled
event that was
recorded when this activity 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()
public ActivityTaskStartedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.