public class ActivityTaskCanceledEventAttributes extends Object implements Serializable
Provides details of the ActivityTaskCanceled
event.
Constructor and Description |
---|
ActivityTaskCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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 String getDetails()
Constraints:
Length: 0 - 32768
public void setDetails(String details)
Constraints:
Length: 0 - 32768
details
- Details of the cancellation (if any).public ActivityTaskCanceledEventAttributes withDetails(String details)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
details
- Details of the cancellation (if any).public 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(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 ActivityTaskCanceledEventAttributes withScheduledEventId(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 Long getStartedEventId()
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 void setStartedEventId(Long startedEventId)
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 ActivityTaskCanceledEventAttributes withStartedEventId(Long startedEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 getLatestCancelRequestedEventId()
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 void setLatestCancelRequestedEventId(Long latestCancelRequestedEventId)
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 ActivityTaskCanceledEventAttributes withLatestCancelRequestedEventId(Long latestCancelRequestedEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.