Interface JobExecution.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobExecution.Builder,
,JobExecution> SdkBuilder<JobExecution.Builder,
,JobExecution> SdkPojo
- Enclosing class:
JobExecution
-
Method Summary
Modifier and TypeMethodDescriptionapproximateSecondsBeforeTimedOut
(Long approximateSecondsBeforeTimedOut) The estimated number of seconds that remain before the job execution status will be changed toTIMED_OUT
.executionNumber
(Long executionNumber) A number that identifies a particular job execution on a particular device.jobDocument
(String jobDocument) The content of the job document.The unique identifier you assigned to this job when it was created.lastUpdatedAt
(Long lastUpdatedAt) The time, in milliseconds since the epoch, when the job execution was last updated.The time, in milliseconds since the epoch, when the job execution was enqueued.The time, in milliseconds since the epoch, when the job execution was started.The status of the job execution.status
(JobExecutionStatus status) The status of the job execution.statusDetails
(Map<String, String> statusDetails) A collection of name/value pairs that describe the status of the job execution.The name of the thing that is executing the job.versionNumber
(Long versionNumber) The version of the job execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobId
The unique identifier you assigned to this job when it was created.
- Parameters:
jobId
- The unique identifier you assigned to this job when it was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingName
The name of the thing that is executing the job.
- Parameters:
thingName
- The name of the thing that is executing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
- Parameters:
status
- The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
- Parameters:
status
- The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusDetails
A collection of name/value pairs that describe the status of the job execution.
- Parameters:
statusDetails
- A collection of name/value pairs that describe the status of the job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queuedAt
The time, in milliseconds since the epoch, when the job execution was enqueued.
- Parameters:
queuedAt
- The time, in milliseconds since the epoch, when the job execution was enqueued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time, in milliseconds since the epoch, when the job execution was started.
- Parameters:
startedAt
- The time, in milliseconds since the epoch, when the job execution was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The time, in milliseconds since the epoch, when the job execution was last updated.
- Parameters:
lastUpdatedAt
- The time, in milliseconds since the epoch, when the job execution was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateSecondsBeforeTimedOut
The estimated number of seconds that remain before the job execution status will be changed to
TIMED_OUT
.- Parameters:
approximateSecondsBeforeTimedOut
- The estimated number of seconds that remain before the job execution status will be changed toTIMED_OUT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionNumber
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
- Parameters:
versionNumber
- The version of the job execution. Job execution versions are incremented each time they are updated by a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDocument
The content of the job document.
- Parameters:
jobDocument
- The content of the job document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-