@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
An object containing the JobId
, Status
, StartTime
, and EndTime
of
a job.
Constructor and Description |
---|
JobSummary() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The time at which the job has finished.
|
String |
getJobId()
The ID of the job.
|
Date |
getStartTime()
The time at which the job was started.
|
String |
getStatus()
The current status of the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The time at which the job has finished.
|
void |
setJobId(String jobId)
The ID of the job.
|
void |
setStartTime(Date startTime)
The time at which the job was started.
|
void |
setStatus(String status)
The current status of the job.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withEndTime(Date endTime)
The time at which the job has finished.
|
JobSummary |
withJobId(String jobId)
The ID of the job.
|
JobSummary |
withStartTime(Date startTime)
The time at which the job was started.
|
JobSummary |
withStatus(JobStatus status)
The current status of the job.
|
JobSummary |
withStatus(String status)
The current status of the job.
|
public void setEndTime(Date endTime)
The time at which the job has finished.
endTime
- The time at which the job has finished.public Date getEndTime()
The time at which the job has finished.
public JobSummary withEndTime(Date endTime)
The time at which the job has finished.
endTime
- The time at which the job has finished.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 setStartTime(Date startTime)
The time at which the job was started.
startTime
- The time at which the job was started.public Date getStartTime()
The time at which the job was started.
public JobSummary withStartTime(Date startTime)
The time at which the job was started.
startTime
- The time at which the job was started.public void setStatus(String status)
The current status of the job.
status
- The current status of the job.JobStatus
public String getStatus()
The current status of the job.
JobStatus
public JobSummary withStatus(String status)
The current status of the job.
status
- The current status of the job.JobStatus
public JobSummary withStatus(JobStatus status)
The current status of the job.
status
- The current status of the job.JobStatus
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.