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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.