@Generated(value="software.amazon.awssdk:codegen") public final class AttemptDetail extends Object implements SdkPojo, Serializable, 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttemptDetail.Builder> |
serializableBuilderClass() |
Long |
startedAt()
The Unix timestamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the
STARTING 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 (in seconds and milliseconds) for when the attempt was stopped (when the attempt transitioned
from the
RUNNING state to a terminal state, such as SUCCEEDED or FAILED ). |
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 (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the STARTING
state to the RUNNING
state).
STARTING
state to the RUNNING
state).public Long stoppedAt()
The Unix timestamp (in seconds and milliseconds) for when the attempt was stopped (when the attempt transitioned
from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
RUNNING
state to a terminal state, such as SUCCEEDED
or
FAILED
).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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.