@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
An object representing summary details of a job.
Constructor and Description |
---|
JobSummary() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
clone() |
boolean |
equals(Object obj) |
ArrayPropertiesSummary |
getArrayProperties()
The array properties of the job, if it is an array job.
|
ContainerSummary |
getContainer()
An object representing the details of the container that's associated with the job.
|
Long |
getCreatedAt()
The Unix timestamp for when the job was created.
|
String |
getJobArn()
The Amazon Resource Name (ARN) of the job.
|
String |
getJobId()
The ID of the job.
|
String |
getJobName()
The name of the job.
|
NodePropertiesSummary |
getNodeProperties()
The node properties for a single node in a job summary list.
|
Long |
getStartedAt()
The Unix timestamp for when the job was started (when the job transitioned from the
STARTING state
to the RUNNING state). |
String |
getStatus()
The current status for the job.
|
String |
getStatusReason()
A short, human-readable string to provide additional details about the current status of the job.
|
Long |
getStoppedAt()
The Unix timestamp for when the job was stopped (when the job transitioned from the
RUNNING state to
a terminal state, such as SUCCEEDED or FAILED ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it is an array job.
|
void |
setContainer(ContainerSummary container)
An object representing the details of the container that's associated with the job.
|
void |
setCreatedAt(Long createdAt)
The Unix timestamp for when the job was created.
|
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
|
void |
setJobId(String jobId)
The ID of the job.
|
void |
setJobName(String jobName)
The name of the job.
|
void |
setNodeProperties(NodePropertiesSummary nodeProperties)
The node properties for a single node in a job summary list.
|
void |
setStartedAt(Long startedAt)
The Unix timestamp for when the job was started (when the job transitioned from the
STARTING state
to the RUNNING state). |
void |
setStatus(String status)
The current status for the job.
|
void |
setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job.
|
void |
setStoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped (when the job transitioned from the
RUNNING state to
a terminal state, such as SUCCEEDED or FAILED ). |
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it is an array job.
|
JobSummary |
withContainer(ContainerSummary container)
An object representing the details of the container that's associated with the job.
|
JobSummary |
withCreatedAt(Long createdAt)
The Unix timestamp for when the job was created.
|
JobSummary |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
|
JobSummary |
withJobId(String jobId)
The ID of the job.
|
JobSummary |
withJobName(String jobName)
The name of the job.
|
JobSummary |
withNodeProperties(NodePropertiesSummary nodeProperties)
The node properties for a single node in a job summary list.
|
JobSummary |
withStartedAt(Long startedAt)
The Unix timestamp for when the job was started (when the job transitioned from the
STARTING state
to the RUNNING state). |
JobSummary |
withStatus(JobStatus status)
The current status for the job.
|
JobSummary |
withStatus(String status)
The current status for the job.
|
JobSummary |
withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job.
|
JobSummary |
withStoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped (when the job transitioned from the
RUNNING state to
a terminal state, such as SUCCEEDED or FAILED ). |
public void setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
jobArn
- The Amazon Resource Name (ARN) of the job.public String getJobArn()
The Amazon Resource Name (ARN) of the job.
public JobSummary withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
jobArn
- The Amazon Resource Name (ARN) of the job.public void setJobId(String jobId)
The ID of the job.
jobId
- The ID of the job.public String getJobId()
The ID of the job.
public JobSummary withJobId(String jobId)
The ID of the job.
jobId
- The ID of the job.public void setJobName(String jobName)
The name of the job.
jobName
- The name of the job.public String getJobName()
The name of the job.
public JobSummary withJobName(String jobName)
The name of the job.
jobName
- The name of the job.public void setCreatedAt(Long createdAt)
The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when the job
entered the SUBMITTED
state (at the time SubmitJob was called). For array child jobs, this is
when the child job was spawned by its parent and entered the PENDING
state.
createdAt
- The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when
the job entered the SUBMITTED
state (at the time SubmitJob was called). For array
child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.public Long getCreatedAt()
The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when the job
entered the SUBMITTED
state (at the time SubmitJob was called). For array child jobs, this is
when the child job was spawned by its parent and entered the PENDING
state.
SUBMITTED
state (at the time SubmitJob was called). For array
child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.public JobSummary withCreatedAt(Long createdAt)
The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when the job
entered the SUBMITTED
state (at the time SubmitJob was called). For array child jobs, this is
when the child job was spawned by its parent and entered the PENDING
state.
createdAt
- The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when
the job entered the SUBMITTED
state (at the time SubmitJob was called). For array
child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.public void setStatus(String status)
The current status for the job.
status
- The current status for the job.JobStatus
public String getStatus()
The current status for the job.
JobStatus
public JobSummary withStatus(String status)
The current status for the job.
status
- The current status for the job.JobStatus
public JobSummary withStatus(JobStatus status)
The current status for the job.
status
- The current status for the job.JobStatus
public void setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job.
statusReason
- A short, human-readable string to provide additional details about the current status of the job.public String getStatusReason()
A short, human-readable string to provide additional details about the current status of the job.
public JobSummary withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job.
statusReason
- A short, human-readable string to provide additional details about the current status of the job.public void setStartedAt(Long startedAt)
The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state
to the RUNNING
state).
startedAt
- The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state).public Long getStartedAt()
The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state
to the RUNNING
state).
STARTING
state to the RUNNING
state).public JobSummary withStartedAt(Long startedAt)
The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state
to the RUNNING
state).
startedAt
- The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state).public void setStoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to
a terminal state, such as SUCCEEDED
or FAILED
).
stoppedAt
- The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).public Long getStoppedAt()
The Unix timestamp for when the job was stopped (when the job 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 JobSummary withStoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to
a terminal state, such as SUCCEEDED
or FAILED
).
stoppedAt
- The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).public void setContainer(ContainerSummary container)
An object representing the details of the container that's associated with the job.
container
- An object representing the details of the container that's associated with the job.public ContainerSummary getContainer()
An object representing the details of the container that's associated with the job.
public JobSummary withContainer(ContainerSummary container)
An object representing the details of the container that's associated with the job.
container
- An object representing the details of the container that's associated with the job.public void setArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it is an array job.
arrayProperties
- The array properties of the job, if it is an array job.public ArrayPropertiesSummary getArrayProperties()
The array properties of the job, if it is an array job.
public JobSummary withArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it is an array job.
arrayProperties
- The array properties of the job, if it is an array job.public void setNodeProperties(NodePropertiesSummary nodeProperties)
The node properties for a single node in a job summary list.
This isn't applicable to jobs running on Fargate resources.
nodeProperties
- The node properties for a single node in a job summary list. This isn't applicable to jobs running on Fargate resources.
public NodePropertiesSummary getNodeProperties()
The node properties for a single node in a job summary list.
This isn't applicable to jobs running on Fargate resources.
This isn't applicable to jobs running on Fargate resources.
public JobSummary withNodeProperties(NodePropertiesSummary nodeProperties)
The node properties for a single node in a job summary list.
This isn't applicable to jobs running on Fargate resources.
nodeProperties
- The node properties for a single node in a job summary list. This isn't applicable to jobs running on Fargate resources.
public String toString()
toString
in class Object
Object.toString()
public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.