@Generated(value="software.amazon.awssdk:codegen") public class AttemptDetail extends Object implements StructuredPojo, ToCopyableBuilder<AttemptDetail.Builder,AttemptDetail>
An object representing a job attempt.
Modifier and Type | Class and Description |
---|---|
static interface |
AttemptDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static AttemptDetail.Builder |
builder() |
AttemptContainerDetail |
container()
Details about the container in this job attempt.
|
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 . |
static Class<? extends AttemptDetail.Builder> |
serializableBuilderClass() |
Long |
startedAt()
The Unix timestamp for when the attempt was started (when the task transitioned from the
PENDING
state to the RUNNING state). |
String |
statusReason()
A short, human-readable string to provide additional details about the current status of the job attempt.
|
Long |
stoppedAt()
The Unix timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED state). |
AttemptDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public AttemptContainerDetail container()
Details about the container in this job attempt.
public Long startedAt()
The Unix timestamp for when the attempt was started (when the task transitioned from the PENDING
state to the RUNNING
state).
PENDING
state to the RUNNING
state).public Long stoppedAt()
The Unix timestamp for when the attempt was stopped (when the task transitioned from the RUNNING
state to the STOPPED
state).
RUNNING
state to the STOPPED
state).public String statusReason()
A short, human-readable string to provide additional details about the current status of the job attempt.
public AttemptDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttemptDetail.Builder,AttemptDetail>
public static AttemptDetail.Builder builder()
public static Class<? extends AttemptDetail.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.