@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobExecutionState extends Object implements Serializable, Cloneable, StructuredPojo
Contains data about the state of a job execution.
| Constructor and Description |
|---|
JobExecutionState () |
| Modifier and Type | Method and Description |
|---|---|
JobExecutionState |
addStatusDetailsEntry (String key,
String value)
Add a single StatusDetails entry
|
JobExecutionState |
clearStatusDetailsEntries ()
Removes all the entries added into StatusDetails.
|
JobExecutionState |
clone () |
boolean |
equals (Object obj) |
String |
getStatus ()
The status of the job execution.
|
Map<String,String> |
getStatusDetails ()
A collection of name/value pairs that describe the status of the job execution.
|
Long |
getVersionNumber ()
The version of the job execution.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatus (String status)
The status of the job execution.
|
void |
setStatusDetails (Map<String,String> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
void |
setVersionNumber (Long versionNumber)
The version of the job execution.
|
String |
toString ()
Returns a string representation of this object.
|
JobExecutionState |
withStatus (JobExecutionStatus status)
The status of the job execution.
|
JobExecutionState |
withStatus (String status)
The status of the job execution.
|
JobExecutionState |
withStatusDetails (Map<String,String> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
JobExecutionState |
withVersionNumber (Long versionNumber)
The version of the job execution.
|
public JobExecutionState()
public void setStatus(String status)
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
"REJECTED", or "REMOVED".JobExecutionStatus public String getStatus()
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
JobExecutionStatus public JobExecutionState withStatus(String status)
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
"REJECTED", or "REMOVED".JobExecutionStatus public JobExecutionState withStatus(JobExecutionStatus status)
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED",
"REJECTED", or "REMOVED".JobExecutionStatus public Map<String,String> getStatusDetails()
A collection of name/value pairs that describe the status of the job execution.
public void setStatusDetails(Map<String,String> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
statusDetails - A collection of name/value pairs that describe the status of the job execution.public JobExecutionState withStatusDetails(Map<String,String> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
statusDetails - A collection of name/value pairs that describe the status of the job execution.public JobExecutionState addStatusDetailsEntry(String key, String value)
public JobExecutionState clearStatusDetailsEntries()
public void setVersionNumber(Long versionNumber)
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
versionNumber - The version of the job execution. Job execution versions are incremented each time they are updated by a
device.public Long getVersionNumber()
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
public JobExecutionState withVersionNumber(Long versionNumber)
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
versionNumber - The version of the job execution. Job execution versions are incremented each time they are updated by a
device.public String toString()
toString in class Object Object.toString() public JobExecutionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.