public static interface JobExecution.Builder extends SdkPojo, CopyableBuilder<JobExecution.Builder,JobExecution>
Modifier and Type | Method and Description |
---|---|
JobExecution.Builder |
approximateSecondsBeforeTimedOut(Long approximateSecondsBeforeTimedOut)
The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT . |
JobExecution.Builder |
executionNumber(Long executionNumber)
A number that identifies a particular job execution on a particular device.
|
JobExecution.Builder |
jobDocument(String jobDocument)
The content of the job document.
|
JobExecution.Builder |
jobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
JobExecution.Builder |
lastUpdatedAt(Long lastUpdatedAt)
The time, in milliseconds since the epoch, when the job execution was last updated.
|
JobExecution.Builder |
queuedAt(Long queuedAt)
The time, in milliseconds since the epoch, when the job execution was enqueued.
|
JobExecution.Builder |
startedAt(Long startedAt)
The time, in milliseconds since the epoch, when the job execution was started.
|
JobExecution.Builder |
status(JobExecutionStatus status)
The status of the job execution.
|
JobExecution.Builder |
status(String status)
The status of the job execution.
|
JobExecution.Builder |
statusDetails(Map<String,String> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
JobExecution.Builder |
thingName(String thingName)
The name of the thing that is executing the job.
|
JobExecution.Builder |
versionNumber(Long versionNumber)
The version of the job execution.
|
copy
applyMutation, build
JobExecution.Builder jobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId
- The unique identifier you assigned to this job when it was created.JobExecution.Builder thingName(String thingName)
The name of the thing that is executing the job.
thingName
- The name of the thing that is executing the job.JobExecution.Builder status(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
,
JobExecutionStatus
JobExecution.Builder status(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
,
JobExecutionStatus
JobExecution.Builder statusDetails(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.JobExecution.Builder queuedAt(Long queuedAt)
The time, in milliseconds since the epoch, when the job execution was enqueued.
queuedAt
- The time, in milliseconds since the epoch, when the job execution was enqueued.JobExecution.Builder startedAt(Long startedAt)
The time, in milliseconds since the epoch, when the job execution was started.
startedAt
- The time, in milliseconds since the epoch, when the job execution was started.JobExecution.Builder lastUpdatedAt(Long 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.JobExecution.Builder approximateSecondsBeforeTimedOut(Long approximateSecondsBeforeTimedOut)
The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT
.
approximateSecondsBeforeTimedOut
- The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT
.JobExecution.Builder versionNumber(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.JobExecution.Builder executionNumber(Long executionNumber)
A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
executionNumber
- A number that identifies a particular job execution on a particular device. It can be used later in
commands that return or update job execution information.JobExecution.Builder jobDocument(String jobDocument)
The content of the job document.
jobDocument
- The content of the job document.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.