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 string (consisting of the digits "0" through "9") which identifies this particular job execution on this
particular device.
|
JobExecution.Builder |
forceCanceled(Boolean forceCanceled)
Will be
true if the job execution was canceled with the optional force parameter
set to true . |
JobExecution.Builder |
jobId(String jobId)
The unique identifier you assigned to the job when it was created.
|
JobExecution.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time, in seconds since the epoch, when the job execution was last updated.
|
JobExecution.Builder |
queuedAt(Instant queuedAt)
The time, in seconds since the epoch, when the job execution was queued.
|
JobExecution.Builder |
startedAt(Instant startedAt)
The time, in seconds since the epoch, when the job execution started.
|
JobExecution.Builder |
status(JobExecutionStatus status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
|
JobExecution.Builder |
status(String status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
|
default JobExecution.Builder |
statusDetails(Consumer<JobExecutionStatusDetails.Builder> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
JobExecution.Builder |
statusDetails(JobExecutionStatusDetails statusDetails)
A collection of name/value pairs that describe the status of the job execution.
|
JobExecution.Builder |
thingArn(String thingArn)
The ARN of the thing on which the job execution is running.
|
JobExecution.Builder |
versionNumber(Long versionNumber)
The version of the job execution.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
JobExecution.Builder jobId(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.JobExecution.Builder status(String status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
status
- The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or
REJECTED).JobExecutionStatus
,
JobExecutionStatus
JobExecution.Builder status(JobExecutionStatus status)
The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
status
- The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or
REJECTED).JobExecutionStatus
,
JobExecutionStatus
JobExecution.Builder forceCanceled(Boolean forceCanceled)
Will be true
if the job execution was canceled with the optional force
parameter
set to true
.
forceCanceled
- Will be true
if the job execution was canceled with the optional force
parameter set to true
.JobExecution.Builder statusDetails(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.default JobExecution.Builder statusDetails(Consumer<JobExecutionStatusDetails.Builder> statusDetails)
A collection of name/value pairs that describe the status of the job execution.
This is a convenience that creates an instance of theJobExecutionStatusDetails.Builder
avoiding the
need to create one manually via JobExecutionStatusDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to statusDetails(JobExecutionStatusDetails)
.statusDetails
- a consumer that will call methods on JobExecutionStatusDetails.Builder
statusDetails(JobExecutionStatusDetails)
JobExecution.Builder thingArn(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.JobExecution.Builder queuedAt(Instant queuedAt)
The time, in seconds since the epoch, when the job execution was queued.
queuedAt
- The time, in seconds since the epoch, when the job execution was queued.JobExecution.Builder startedAt(Instant startedAt)
The time, in seconds since the epoch, when the job execution started.
startedAt
- The time, in seconds since the epoch, when the job execution started.JobExecution.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time, in seconds since the epoch, when the job execution was last updated.
lastUpdatedAt
- The time, in seconds since the epoch, when the job execution was last updated.JobExecution.Builder executionNumber(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.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 approximateSecondsBeforeTimedOut(Long approximateSecondsBeforeTimedOut)
The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT
. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080
minutes). The actual job execution timeout can occur up to 60 seconds later than the estimated duration. This
value will not be included if the job execution has reached a terminal status.
approximateSecondsBeforeTimedOut
- The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT
. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080
minutes). The actual job execution timeout can occur up to 60 seconds later than the estimated
duration. This value will not be included if the job execution has reached a terminal status.Copyright © 2021. All rights reserved.