@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 timestamp for when the attempt was started (when the task transitioned from the
PENDING
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 timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED state). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainer(AttemptContainerDetail container)
Details about the container in this job attempt.
|
void |
setStartedAt(Long startedAt)
The Unix timestamp for when the attempt was started (when the task transitioned from the
PENDING
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 timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED state). |
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 timestamp for when the attempt was started (when the task transitioned from the
PENDING
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 timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED state). |
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 timestamp for when the attempt was started (when the task transitioned from the PENDING
state to the RUNNING
state).
startedAt
- The Unix timestamp for when the attempt was started (when the task transitioned from the
PENDING
state to the RUNNING
state).public Long getStartedAt()
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 AttemptDetail withStartedAt(Long startedAt)
The Unix timestamp for when the attempt was started (when the task transitioned from the PENDING
state to the RUNNING
state).
startedAt
- The Unix timestamp for when the attempt was started (when the task transitioned from the
PENDING
state to the RUNNING
state).public void setStoppedAt(Long stoppedAt)
The Unix timestamp for when the attempt was stopped (when the task transitioned from the RUNNING
state to the STOPPED
state).
stoppedAt
- The Unix timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED
state).public Long getStoppedAt()
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 AttemptDetail withStoppedAt(Long stoppedAt)
The Unix timestamp for when the attempt was stopped (when the task transitioned from the RUNNING
state to the STOPPED
state).
stoppedAt
- The Unix timestamp for when the attempt was stopped (when the task transitioned from the
RUNNING
state to the STOPPED
state).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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.