public class ActivityTaskCanceledEventAttributes extends Object implements Serializable, Cloneable
Provides details of the ActivityTaskCanceled
event.
Constructor and Description |
---|
ActivityTaskCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskCanceledEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
Details of the cancellation (if any).
|
Long |
getLatestCancelRequestedEventId()
If set, contains the ID of the last
ActivityTaskCancelRequested event recorded for this activity
task. |
Long |
getScheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
Long |
getStartedEventId()
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
int |
hashCode() |
void |
setDetails(String details)
Details of the cancellation (if any).
|
void |
setLatestCancelRequestedEventId(Long latestCancelRequestedEventId)
If set, contains the ID of the last
ActivityTaskCancelRequested event recorded for this activity
task. |
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
void |
setStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskCanceledEventAttributes |
withDetails(String details)
Details of the cancellation (if any).
|
ActivityTaskCanceledEventAttributes |
withLatestCancelRequestedEventId(Long latestCancelRequestedEventId)
If set, contains the ID of the last
ActivityTaskCancelRequested event recorded for this activity
task. |
ActivityTaskCanceledEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
ActivityTaskCanceledEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
public void setDetails(String details)
Details of the cancellation (if any).
details
- Details of the cancellation (if any).public String getDetails()
Details of the cancellation (if any).
public ActivityTaskCanceledEventAttributes withDetails(String details)
Details of the cancellation (if any).
details
- Details of the cancellation (if any).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 ActivityTaskCanceledEventAttributes 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 void setStartedEventId(Long startedEventId)
The ID of the ActivityTaskStarted
event recorded when this
activity task 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 ActivityTaskStarted
event recorded when
this activity task was started. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public Long getStartedEventId()
The ID of the ActivityTaskStarted
event recorded when this
activity task was started. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
ActivityTaskStarted
event recorded
when this activity task was started. This information can be
useful for diagnosing problems by tracing back the chain of
events leading up to this event.public ActivityTaskCanceledEventAttributes withStartedEventId(Long startedEventId)
The ID of the ActivityTaskStarted
event recorded when this
activity task 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 ActivityTaskStarted
event recorded when
this activity task was started. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public void setLatestCancelRequestedEventId(Long latestCancelRequestedEventId)
If set, contains the ID of the last
ActivityTaskCancelRequested
event recorded for this activity
task. This information can be useful for diagnosing problems by tracing
back the chain of events leading up to this event.
latestCancelRequestedEventId
- If set, contains the ID of the last
ActivityTaskCancelRequested
event recorded for this
activity task. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this
event.public Long getLatestCancelRequestedEventId()
If set, contains the ID of the last
ActivityTaskCancelRequested
event recorded for this activity
task. This information can be useful for diagnosing problems by tracing
back the chain of events leading up to this event.
ActivityTaskCancelRequested
event recorded for this
activity task. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this
event.public ActivityTaskCanceledEventAttributes withLatestCancelRequestedEventId(Long latestCancelRequestedEventId)
If set, contains the ID of the last
ActivityTaskCancelRequested
event recorded for this activity
task. This information can be useful for diagnosing problems by tracing
back the chain of events leading up to this event.
latestCancelRequestedEventId
- If set, contains the ID of the last
ActivityTaskCancelRequested
event recorded for this
activity task. 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 ActivityTaskCanceledEventAttributes clone()
Copyright © 2018. All rights reserved.