@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents 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's an array job.
|
ContainerSummary |
getContainer()
An object that represents the details of the container that's associated with the job.
|
Long |
getCreatedAt()
The Unix timestamp (in milliseconds) for when the job was created.
|
String |
getJobArn()
The Amazon Resource Name (ARN) of the job.
|
String |
getJobDefinition()
The Amazon Resource Name (ARN) of the job definition.
|
String |
getJobId()
The job ID.
|
String |
getJobName()
The job name.
|
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.
|
String |
getStatus()
The current status for the job.
|
String |
getStatusReason()
A short, human-readable string to provide more details for the current status of the job.
|
Long |
getStoppedAt()
The Unix timestamp for when the job was stopped.
|
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's an array job.
|
void |
setContainer(ContainerSummary container)
An object that represents the details of the container that's associated with the job.
|
void |
setCreatedAt(Long createdAt)
The Unix timestamp (in milliseconds) for when the job was created.
|
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
|
void |
setJobDefinition(String jobDefinition)
The Amazon Resource Name (ARN) of the job definition.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setJobName(String jobName)
The job name.
|
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.
|
void |
setStatus(String status)
The current status for the job.
|
void |
setStatusReason(String statusReason)
A short, human-readable string to provide more details for the current status of the job.
|
void |
setStoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it's an array job.
|
JobSummary |
withContainer(ContainerSummary container)
An object that represents the details of the container that's associated with the job.
|
JobSummary |
withCreatedAt(Long createdAt)
The Unix timestamp (in milliseconds) for when the job was created.
|
JobSummary |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) of the job.
|
JobSummary |
withJobDefinition(String jobDefinition)
The Amazon Resource Name (ARN) of the job definition.
|
JobSummary |
withJobId(String jobId)
The job ID.
|
JobSummary |
withJobName(String jobName)
The job name.
|
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.
|
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 more details for the current status of the job.
|
JobSummary |
withStoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped.
|
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 job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public JobSummary withJobId(String jobId)
The job ID.
jobId
- The job ID.public void setJobName(String jobName)
The job name.
jobName
- The job name.public String getJobName()
The job name.
public JobSummary withJobName(String jobName)
The job name.
jobName
- The job name.public void setCreatedAt(Long createdAt)
The Unix timestamp (in milliseconds) 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 (in milliseconds) 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 (in milliseconds) 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 (in milliseconds) 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 (in milliseconds) 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 more details for the current status of the job.
statusReason
- A short, human-readable string to provide more details for the current status of the job.public String getStatusReason()
A short, human-readable string to provide more details for the current status of the job.
public JobSummary withStatusReason(String statusReason)
A short, human-readable string to provide more details for the current status of the job.
statusReason
- A short, human-readable string to provide more details for the current status of the job.public void setStartedAt(Long startedAt)
The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the
STARTING
state to the RUNNING
state.
startedAt
- The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from
the STARTING
state to the RUNNING
state.public Long getStartedAt()
The Unix timestamp for when the job was started. More specifically, it's 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. More specifically, it's when the job transitioned from the
STARTING
state to the RUNNING
state.
startedAt
- The Unix timestamp for when the job was started. More specifically, it's 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. More specifically, it's 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. More specifically, it's 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. More specifically, it's 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. More specifically, it's 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. More specifically, it's when the job transitioned from
the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.public void setContainer(ContainerSummary container)
An object that represents the details of the container that's associated with the job.
container
- An object that represents the details of the container that's associated with the job.public ContainerSummary getContainer()
An object that represents the details of the container that's associated with the job.
public JobSummary withContainer(ContainerSummary container)
An object that represents the details of the container that's associated with the job.
container
- An object that represents the details of the container that's associated with the job.public void setArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it's an array job.
arrayProperties
- The array properties of the job, if it's an array job.public ArrayPropertiesSummary getArrayProperties()
The array properties of the job, if it's an array job.
public JobSummary withArrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it's an array job.
arrayProperties
- The array properties of the job, if it's 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 that are running on Fargate resources.
nodeProperties
- The node properties for a single node in a job summary list. This isn't applicable to jobs that are 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 that are running on Fargate resources.
This isn't applicable to jobs that are 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 that are running on Fargate resources.
nodeProperties
- The node properties for a single node in a job summary list. This isn't applicable to jobs that are running on Fargate resources.
public void setJobDefinition(String jobDefinition)
The Amazon Resource Name (ARN) of the job definition.
jobDefinition
- The Amazon Resource Name (ARN) of the job definition.public String getJobDefinition()
The Amazon Resource Name (ARN) of the job definition.
public JobSummary withJobDefinition(String jobDefinition)
The Amazon Resource Name (ARN) of the job definition.
jobDefinition
- The Amazon Resource Name (ARN) of the job definition.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.