@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityTaskCanceledEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the 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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(String details)
Details of the cancellation.
|
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.
|
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.
details
- Details of the cancellation.public String getDetails()
Details of the cancellation.
public ActivityTaskCanceledEventAttributes withDetails(String details)
Details of the cancellation.
details
- Details of the cancellation.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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.