public static interface UpdateJobRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
Modifier and Type | Method and Description |
---|---|
UpdateJobRequest.Builder |
abortConfig(AbortConfig abortConfig)
Allows you to create criteria to abort a job.
|
default UpdateJobRequest.Builder |
abortConfig(Consumer<AbortConfig.Builder> abortConfig)
Allows you to create criteria to abort a job.
|
UpdateJobRequest.Builder |
description(String description)
A short text description of the job.
|
default UpdateJobRequest.Builder |
jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
|
UpdateJobRequest.Builder |
jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
|
UpdateJobRequest.Builder |
jobId(String jobId)
The ID of the job to be updated.
|
UpdateJobRequest.Builder |
namespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
UpdateJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default UpdateJobRequest.Builder |
presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
|
UpdateJobRequest.Builder |
presignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
|
default UpdateJobRequest.Builder |
timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
UpdateJobRequest.Builder |
timeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateJobRequest.Builder jobId(String jobId)
The ID of the job to be updated.
jobId
- The ID of the job to be updated.UpdateJobRequest.Builder description(String description)
A short text description of the job.
description
- A short text description of the job.UpdateJobRequest.Builder presignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
presignedUrlConfig
- Configuration information for pre-signed S3 URLs.default UpdateJobRequest.Builder presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
This is a convenience that creates an instance of thePresignedUrlConfig.Builder
avoiding the need to
create one manually via PresignedUrlConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to presignedUrlConfig(PresignedUrlConfig)
.presignedUrlConfig
- a consumer that will call methods on PresignedUrlConfig.Builder
presignedUrlConfig(PresignedUrlConfig)
UpdateJobRequest.Builder jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of the job.default UpdateJobRequest.Builder jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
This is a convenience that creates an instance of theJobExecutionsRolloutConfig.Builder
avoiding the
need to create one manually via JobExecutionsRolloutConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to jobExecutionsRolloutConfig(JobExecutionsRolloutConfig)
.jobExecutionsRolloutConfig
- a consumer that will call methods on JobExecutionsRolloutConfig.Builder
jobExecutionsRolloutConfig(JobExecutionsRolloutConfig)
UpdateJobRequest.Builder abortConfig(AbortConfig abortConfig)
Allows you to create criteria to abort a job.
abortConfig
- Allows you to create criteria to abort a job.default UpdateJobRequest.Builder abortConfig(Consumer<AbortConfig.Builder> abortConfig)
Allows you to create criteria to abort a job.
This is a convenience that creates an instance of theAbortConfig.Builder
avoiding the need to create
one manually via AbortConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to abortConfig(AbortConfig)
.abortConfig
- a consumer that will call methods on AbortConfig.Builder
abortConfig(AbortConfig)
UpdateJobRequest.Builder timeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. The timer is started when
the job execution status is set to IN_PROGRESS
. If the job execution status is not set to
another terminal state before the time expires, it will be automatically set to TIMED_OUT
.
timeoutConfig
- Specifies the amount of time each device has to finish its execution of the job. The timer is started
when the job execution status is set to IN_PROGRESS
. If the job execution status is not
set to another terminal state before the time expires, it will be automatically set to
TIMED_OUT
.default UpdateJobRequest.Builder timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. The timer is started when
the job execution status is set to IN_PROGRESS
. If the job execution status is not set to
another terminal state before the time expires, it will be automatically set to TIMED_OUT
.
TimeoutConfig.Builder
avoiding the need to
create one manually via TimeoutConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to timeoutConfig(TimeoutConfig)
.timeoutConfig
- a consumer that will call methods on TimeoutConfig.Builder
timeoutConfig(TimeoutConfig)
UpdateJobRequest.Builder namespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
UpdateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.