public class ActivityTaskFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the ActivityTaskFailed
event.
Constructor and Description |
---|
ActivityTaskFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
The details of the failure (if any).
|
String |
getReason()
The reason provided for the failure (if any).
|
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)
The details of the failure (if any).
|
void |
setReason(String reason)
The reason provided for the failure (if any).
|
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.
|
ActivityTaskFailedEventAttributes |
withDetails(String details)
The details of the failure (if any).
|
ActivityTaskFailedEventAttributes |
withReason(String reason)
The reason provided for the failure (if any).
|
ActivityTaskFailedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded
when this activity task was scheduled. |
ActivityTaskFailedEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this
activity task was started. |
public void setReason(String reason)
The reason provided for the failure (if any).
reason
- The reason provided for the failure (if any).public String getReason()
The reason provided for the failure (if any).
public ActivityTaskFailedEventAttributes withReason(String reason)
The reason provided for the failure (if any).
reason
- The reason provided for the failure (if any).public void setDetails(String details)
The details of the failure (if any).
details
- The details of the failure (if any).public String getDetails()
The details of the failure (if any).
public ActivityTaskFailedEventAttributes withDetails(String details)
The details of the failure (if any).
details
- The details of the failure (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 ActivityTaskFailedEventAttributes 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 ActivityTaskFailedEventAttributes 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 String toString()
toString
in class Object
Object.toString()
public ActivityTaskFailedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.