public class ActivityTaskStartedEventAttributes
extends java.lang.Object
implements java.io.Serializable
Provides details of the ActivityTaskStarted event.
| コンストラクタと説明 |
|---|
ActivityTaskStartedEventAttributes() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentity()
Identity of the worker that was assigned this task.
|
java.lang.Long |
getScheduledEventId()
The id of the
ActivityTaskScheduled event that was
recorded when this activity task was scheduled. |
int |
hashCode() |
void |
setIdentity(java.lang.String identity)
Identity of the worker that was assigned this task.
|
void |
setScheduledEventId(java.lang.Long scheduledEventId)
The id of the
ActivityTaskScheduled event that was
recorded when this activity task was scheduled. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskStartedEventAttributes |
withIdentity(java.lang.String identity)
Identity of the worker that was assigned this task.
|
ActivityTaskStartedEventAttributes |
withScheduledEventId(java.lang.Long scheduledEventId)
The id of the
ActivityTaskScheduled event that was
recorded when this activity task was scheduled. |
public java.lang.String getIdentity()
Constraints:
Length: 0 - 256
public void setIdentity(java.lang.String identity)
Constraints:
Length: 0 - 256
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 ActivityTaskStartedEventAttributes withIdentity(java.lang.String identity)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
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 java.lang.Long getScheduledEventId()
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 void setScheduledEventId(java.lang.Long scheduledEventId)
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 ActivityTaskStartedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object