@Generated(value="software.amazon.awssdk:codegen") public final class ActivityTaskFailedEventAttributes extends Object implements StructuredPojo, ToCopyableBuilder<ActivityTaskFailedEventAttributes.Builder,ActivityTaskFailedEventAttributes>
Provides the details of the ActivityTaskFailed
event.
Modifier and Type | Class and Description |
---|---|
static interface |
ActivityTaskFailedEventAttributes.Builder |
Modifier and Type | Method and Description |
---|---|
static ActivityTaskFailedEventAttributes.Builder |
builder() |
String |
details()
The details of the failure.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
reason()
The reason provided for the failure.
|
Long |
scheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was scheduled. |
static Class<? extends ActivityTaskFailedEventAttributes.Builder> |
serializableBuilderClass() |
Long |
startedEventId()
The ID of the
ActivityTaskStarted event recorded when this activity task was started. |
ActivityTaskFailedEventAttributes.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String reason()
The reason provided for the failure.
public String details()
The details of the failure.
public 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.
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 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActivityTaskFailedEventAttributes.Builder,ActivityTaskFailedEventAttributes>
public static ActivityTaskFailedEventAttributes.Builder builder()
public static Class<? extends ActivityTaskFailedEventAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.