@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttemptDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a job attempt.
Constructor and Description |
---|
AttemptDetail() |
Modifier and Type | Method and Description |
---|---|
AttemptDetail |
clone() |
boolean |
equals(Object obj) |
AttemptContainerDetail |
getContainer()
Details about the container in this job attempt.
|
Long |
getStartedAt()
The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the
STARTING state to the RUNNING state). |
String |
getStatusReason()
A short, human-readable string to provide additional details about the current status of the job attempt.
|
Long |
getStoppedAt()
The Unix time stamp (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 ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setContainer(AttemptContainerDetail container)
Details about the container in this job attempt.
|
void |
setStartedAt(Long startedAt)
The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the
STARTING state to the RUNNING state). |
void |
setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job attempt.
|
void |
setStoppedAt(Long stoppedAt)
The Unix time stamp (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 ). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttemptDetail |
withContainer(AttemptContainerDetail container)
Details about the container in this job attempt.
|
AttemptDetail |
withStartedAt(Long startedAt)
The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the
STARTING state to the RUNNING state). |
AttemptDetail |
withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job attempt.
|
AttemptDetail |
withStoppedAt(Long stoppedAt)
The Unix time stamp (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 ). |
public void setContainer(AttemptContainerDetail container)
Details about the container in this job attempt.
container
- Details about the container in this job attempt.public AttemptContainerDetail getContainer()
Details about the container in this job attempt.
public AttemptDetail withContainer(AttemptContainerDetail container)
Details about the container in this job attempt.
container
- Details about the container in this job attempt.public void setStartedAt(Long startedAt)
The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the STARTING
state to the RUNNING
state).
startedAt
- The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt
transitioned from the STARTING
state to the RUNNING
state).public Long getStartedAt()
The Unix time stamp (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 AttemptDetail withStartedAt(Long startedAt)
The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned
from the STARTING
state to the RUNNING
state).
startedAt
- The Unix time stamp (in seconds and milliseconds) for when the attempt was started (when the attempt
transitioned from the STARTING
state to the RUNNING
state).public void setStoppedAt(Long stoppedAt)
The Unix time stamp (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
).
stoppedAt
- The Unix time stamp (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
).public Long getStoppedAt()
The Unix time stamp (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 AttemptDetail withStoppedAt(Long stoppedAt)
The Unix time stamp (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
).
stoppedAt
- The Unix time stamp (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
).public void setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job attempt.
statusReason
- A short, human-readable string to provide additional details about the current status of the job attempt.public String getStatusReason()
A short, human-readable string to provide additional details about the current status of the job attempt.
public AttemptDetail withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job attempt.
statusReason
- A short, human-readable string to provide additional details about the current status of the job attempt.public String toString()
toString
in class Object
Object.toString()
public AttemptDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.