@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobExecution extends Object implements Serializable, Cloneable, StructuredPojo
The job execution object represents the execution of a job on a particular device.
| Constructor and Description |
|---|
JobExecution() |
| Modifier and Type | Method and Description |
|---|---|
JobExecution |
clone() |
boolean |
equals(Object obj) |
Long |
getExecutionNumber()
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this
particular device.
|
String |
getJobId()
The unique identifier you assigned to the job when it was created.
|
Date |
getLastUpdatedAt()
The time, in milliseconds since the epoch, when the job execution was last updated.
|
Date |
getQueuedAt()
The time, in milliseconds since the epoch, when the job execution was queued.
|
Date |
getStartedAt()
The time, in milliseconds since the epoch, when the job execution started.
|
String |
getStatus()
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
|
JobExecutionStatusDetails |
getStatusDetails()
A collection of name/value pairs that describe the status of the job execution.
|
String |
getThingArn()
The ARN of the thing on which the job execution is running.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this
particular device.
|
void |
setJobId(String jobId)
The unique identifier you assigned to the job when it was created.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
|
void |
setQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was queued.
|
void |
setStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution started.
|
void |
setStatus(String status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
|
void |
setStatusDetails(JobExecutionStatusDetails statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
void |
setThingArn(String thingArn)
The ARN of the thing on which the job execution is running.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobExecution |
withExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this
particular device.
|
JobExecution |
withJobId(String jobId)
The unique identifier you assigned to the job when it was created.
|
JobExecution |
withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
|
JobExecution |
withQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was queued.
|
JobExecution |
withStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution started.
|
JobExecution |
withStatus(JobExecutionStatus status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
|
JobExecution |
withStatus(String status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
|
JobExecution |
withStatusDetails(JobExecutionStatusDetails statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
JobExecution |
withThingArn(String thingArn)
The ARN of the thing on which the job execution is running.
|
public void setJobId(String jobId)
The unique identifier you assigned to the job when it was created.
jobId - The unique identifier you assigned to the job when it was created.public String getJobId()
The unique identifier you assigned to the job when it was created.
public JobExecution withJobId(String jobId)
The unique identifier you assigned to the job when it was created.
jobId - The unique identifier you assigned to the job when it was created.public void setStatus(String status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
status - The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).JobExecutionStatuspublic String getStatus()
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
JobExecutionStatuspublic JobExecution withStatus(String status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
status - The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).JobExecutionStatuspublic JobExecution withStatus(JobExecutionStatus status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).
status - The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, CANCELED, or REJECTED).JobExecutionStatuspublic void setStatusDetails(JobExecutionStatusDetails 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 JobExecutionStatusDetails getStatusDetails()
A collection of name/value pairs that describe the status of the job execution.
public JobExecution withStatusDetails(JobExecutionStatusDetails 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 void setThingArn(String thingArn)
The ARN of the thing on which the job execution is running.
thingArn - The ARN of the thing on which the job execution is running.public String getThingArn()
The ARN of the thing on which the job execution is running.
public JobExecution withThingArn(String thingArn)
The ARN of the thing on which the job execution is running.
thingArn - The ARN of the thing on which the job execution is running.public void setQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was queued.
queuedAt - The time, in milliseconds since the epoch, when the job execution was queued.public Date getQueuedAt()
The time, in milliseconds since the epoch, when the job execution was queued.
public JobExecution withQueuedAt(Date queuedAt)
The time, in milliseconds since the epoch, when the job execution was queued.
queuedAt - The time, in milliseconds since the epoch, when the job execution was queued.public void setStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution started.
startedAt - The time, in milliseconds since the epoch, when the job execution started.public Date getStartedAt()
The time, in milliseconds since the epoch, when the job execution started.
public JobExecution withStartedAt(Date startedAt)
The time, in milliseconds since the epoch, when the job execution started.
startedAt - The time, in milliseconds since the epoch, when the job execution started.public void setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
lastUpdatedAt - The time, in milliseconds since the epoch, when the job execution was last updated.public Date getLastUpdatedAt()
The time, in milliseconds since the epoch, when the job execution was last updated.
public JobExecution withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
lastUpdatedAt - The time, in milliseconds since the epoch, when the job execution was last updated.public void setExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used in commands which return or update job execution information.
executionNumber - A string (consisting of the digits "0" through "9") which identifies this particular job execution on this
particular device. It can be used in commands which return or update job execution information.public Long getExecutionNumber()
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used in commands which return or update job execution information.
public JobExecution withExecutionNumber(Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used in commands which return or update job execution information.
executionNumber - A string (consisting of the digits "0" through "9") which identifies this particular job execution on this
particular device. It can be used in commands which return or update job execution information.public String toString()
toString in class ObjectObject.toString()public JobExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.