@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityTaskFailedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the 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.
|
String |
getReason()
The reason provided for the failure.
|
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)
The details of the failure.
|
void |
setReason(String reason)
The reason provided for the failure.
|
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.
|
ActivityTaskFailedEventAttributes |
withDetails(String details)
The details of the failure.
|
ActivityTaskFailedEventAttributes |
withReason(String reason)
The reason provided for the failure.
|
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.
reason
- The reason provided for the failure.public String getReason()
The reason provided for the failure.
public ActivityTaskFailedEventAttributes withReason(String reason)
The reason provided for the failure.
reason
- The reason provided for the failure.public void setDetails(String details)
The details of the failure.
details
- The details of the failure.public String getDetails()
The details of the failure.
public ActivityTaskFailedEventAttributes withDetails(String details)
The details of the failure.
details
- The details of the failure.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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.