@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobListDescriptor extends Object implements Serializable, Cloneable
Contains the configuration and status information for a single job retrieved as part of a job list.
Constructor and Description |
---|
JobListDescriptor() |
Modifier and Type | Method and Description |
---|---|
JobListDescriptor |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
A timestamp indicating when the specified job was created.
|
String |
getDescription()
The user-specified description that was included in the specified job's
Create Job request. |
String |
getJobId()
The ID for the specified job.
|
String |
getOperation()
The operation that the specified job is configured to run on each object listed in the manifest.
|
Integer |
getPriority()
The current priority for the specified job.
|
JobProgressSummary |
getProgressSummary()
Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and
the number of tasks that failed.
|
String |
getStatus()
The specified job's current status.
|
Date |
getTerminationDate()
A timestamp indicating when the specified job terminated.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
A timestamp indicating when the specified job was created.
|
void |
setDescription(String description)
The user-specified description that was included in the specified job's
Create Job request. |
void |
setJobId(String jobId)
The ID for the specified job.
|
void |
setOperation(String operation)
The operation that the specified job is configured to run on each object listed in the manifest.
|
void |
setPriority(Integer priority)
The current priority for the specified job.
|
void |
setProgressSummary(JobProgressSummary progressSummary)
Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and
the number of tasks that failed.
|
void |
setStatus(String status)
The specified job's current status.
|
void |
setTerminationDate(Date terminationDate)
A timestamp indicating when the specified job terminated.
|
String |
toString()
Returns a string representation of this object.
|
JobListDescriptor |
withCreationTime(Date creationTime)
A timestamp indicating when the specified job was created.
|
JobListDescriptor |
withDescription(String description)
The user-specified description that was included in the specified job's
Create Job request. |
JobListDescriptor |
withJobId(String jobId)
The ID for the specified job.
|
JobListDescriptor |
withOperation(OperationName operation)
The operation that the specified job is configured to run on each object listed in the manifest.
|
JobListDescriptor |
withOperation(String operation)
The operation that the specified job is configured to run on each object listed in the manifest.
|
JobListDescriptor |
withPriority(Integer priority)
The current priority for the specified job.
|
JobListDescriptor |
withProgressSummary(JobProgressSummary progressSummary)
Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and
the number of tasks that failed.
|
JobListDescriptor |
withStatus(JobStatus status)
The specified job's current status.
|
JobListDescriptor |
withStatus(String status)
The specified job's current status.
|
JobListDescriptor |
withTerminationDate(Date terminationDate)
A timestamp indicating when the specified job terminated.
|
public void setJobId(String jobId)
The ID for the specified job.
jobId
- The ID for the specified job.public String getJobId()
The ID for the specified job.
public JobListDescriptor withJobId(String jobId)
The ID for the specified job.
jobId
- The ID for the specified job.public void setDescription(String description)
The user-specified description that was included in the specified job's Create Job
request.
description
- The user-specified description that was included in the specified job's Create Job
request.public String getDescription()
The user-specified description that was included in the specified job's Create Job
request.
Create Job
request.public JobListDescriptor withDescription(String description)
The user-specified description that was included in the specified job's Create Job
request.
description
- The user-specified description that was included in the specified job's Create Job
request.public void setOperation(String operation)
The operation that the specified job is configured to run on each object listed in the manifest.
operation
- The operation that the specified job is configured to run on each object listed in the manifest.OperationName
public String getOperation()
The operation that the specified job is configured to run on each object listed in the manifest.
OperationName
public JobListDescriptor withOperation(String operation)
The operation that the specified job is configured to run on each object listed in the manifest.
operation
- The operation that the specified job is configured to run on each object listed in the manifest.OperationName
public JobListDescriptor withOperation(OperationName operation)
The operation that the specified job is configured to run on each object listed in the manifest.
operation
- The operation that the specified job is configured to run on each object listed in the manifest.OperationName
public void setPriority(Integer priority)
The current priority for the specified job.
priority
- The current priority for the specified job.public Integer getPriority()
The current priority for the specified job.
public JobListDescriptor withPriority(Integer priority)
The current priority for the specified job.
priority
- The current priority for the specified job.public void setStatus(String status)
The specified job's current status.
status
- The specified job's current status.JobStatus
public String getStatus()
The specified job's current status.
JobStatus
public JobListDescriptor withStatus(String status)
The specified job's current status.
status
- The specified job's current status.JobStatus
public JobListDescriptor withStatus(JobStatus status)
The specified job's current status.
status
- The specified job's current status.JobStatus
public void setCreationTime(Date creationTime)
A timestamp indicating when the specified job was created.
creationTime
- A timestamp indicating when the specified job was created.public Date getCreationTime()
A timestamp indicating when the specified job was created.
public JobListDescriptor withCreationTime(Date creationTime)
A timestamp indicating when the specified job was created.
creationTime
- A timestamp indicating when the specified job was created.public void setTerminationDate(Date terminationDate)
A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
terminationDate
- A timestamp indicating when the specified job terminated. A job's termination date is the date and time
when it succeeded, failed, or was canceled.public Date getTerminationDate()
A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
public JobListDescriptor withTerminationDate(Date terminationDate)
A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
terminationDate
- A timestamp indicating when the specified job terminated. A job's termination date is the date and time
when it succeeded, failed, or was canceled.public void setProgressSummary(JobProgressSummary progressSummary)
Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and the number of tasks that failed.
progressSummary
- Describes the total number of tasks that the specified job has executed, the number of tasks that
succeeded, and the number of tasks that failed.public JobProgressSummary getProgressSummary()
Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and the number of tasks that failed.
public JobListDescriptor withProgressSummary(JobProgressSummary progressSummary)
Describes the total number of tasks that the specified job has executed, the number of tasks that succeeded, and the number of tasks that failed.
progressSummary
- Describes the total number of tasks that the specified job has executed, the number of tasks that
succeeded, and the number of tasks that failed.public String toString()
toString
in class Object
Object.toString()
public JobListDescriptor clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.