public static interface CreateOtaUpdateRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateOtaUpdateRequest.Builder,CreateOtaUpdateRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateOtaUpdateRequest.Builder |
additionalParameters(Map<String,String> additionalParameters)
A list of additional OTA update parameters which are name-value pairs.
|
CreateOtaUpdateRequest.Builder |
awsJobAbortConfig(AwsJobAbortConfig awsJobAbortConfig)
The criteria that determine when and how a job abort takes place.
|
default CreateOtaUpdateRequest.Builder |
awsJobAbortConfig(Consumer<AwsJobAbortConfig.Builder> awsJobAbortConfig)
The criteria that determine when and how a job abort takes place.
|
CreateOtaUpdateRequest.Builder |
awsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
|
default CreateOtaUpdateRequest.Builder |
awsJobExecutionsRolloutConfig(Consumer<AwsJobExecutionsRolloutConfig.Builder> awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
|
CreateOtaUpdateRequest.Builder |
awsJobPresignedUrlConfig(AwsJobPresignedUrlConfig awsJobPresignedUrlConfig)
Configuration information for pre-signed URLs.
|
default CreateOtaUpdateRequest.Builder |
awsJobPresignedUrlConfig(Consumer<AwsJobPresignedUrlConfig.Builder> awsJobPresignedUrlConfig)
Configuration information for pre-signed URLs.
|
CreateOtaUpdateRequest.Builder |
awsJobTimeoutConfig(AwsJobTimeoutConfig awsJobTimeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
default CreateOtaUpdateRequest.Builder |
awsJobTimeoutConfig(Consumer<AwsJobTimeoutConfig.Builder> awsJobTimeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
CreateOtaUpdateRequest.Builder |
description(String description)
The description of the OTA update.
|
CreateOtaUpdateRequest.Builder |
files(Collection<OTAUpdateFile> files)
The files to be streamed by the OTA update.
|
CreateOtaUpdateRequest.Builder |
files(Consumer<OTAUpdateFile.Builder>... files)
The files to be streamed by the OTA update.
|
CreateOtaUpdateRequest.Builder |
files(OTAUpdateFile... files)
The files to be streamed by the OTA update.
|
CreateOtaUpdateRequest.Builder |
otaUpdateId(String otaUpdateId)
The ID of the OTA update to be created.
|
CreateOtaUpdateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateOtaUpdateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateOtaUpdateRequest.Builder |
protocols(Collection<Protocol> protocols)
The protocol used to transfer the OTA update image.
|
CreateOtaUpdateRequest.Builder |
protocols(Protocol... protocols)
The protocol used to transfer the OTA update image.
|
CreateOtaUpdateRequest.Builder |
protocolsWithStrings(Collection<String> protocols)
The protocol used to transfer the OTA update image.
|
CreateOtaUpdateRequest.Builder |
protocolsWithStrings(String... protocols)
The protocol used to transfer the OTA update image.
|
CreateOtaUpdateRequest.Builder |
roleArn(String roleArn)
The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web
Services Code Signing resources to create an OTA update job.
|
CreateOtaUpdateRequest.Builder |
tags(Collection<Tag> tags)
Metadata which can be used to manage updates.
|
CreateOtaUpdateRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage updates.
|
CreateOtaUpdateRequest.Builder |
tags(Tag... tags)
Metadata which can be used to manage updates.
|
CreateOtaUpdateRequest.Builder |
targets(Collection<String> targets)
The devices targeted to receive OTA updates.
|
CreateOtaUpdateRequest.Builder |
targets(String... targets)
The devices targeted to receive OTA updates.
|
CreateOtaUpdateRequest.Builder |
targetSelection(String targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT).
|
CreateOtaUpdateRequest.Builder |
targetSelection(TargetSelection targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things
specified as targets have completed the update (SNAPSHOT).
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateOtaUpdateRequest.Builder otaUpdateId(String otaUpdateId)
The ID of the OTA update to be created.
otaUpdateId - The ID of the OTA update to be created.CreateOtaUpdateRequest.Builder description(String description)
The description of the OTA update.
description - The description of the OTA update.CreateOtaUpdateRequest.Builder targets(Collection<String> targets)
The devices targeted to receive OTA updates.
targets - The devices targeted to receive OTA updates.CreateOtaUpdateRequest.Builder targets(String... targets)
The devices targeted to receive OTA updates.
targets - The devices targeted to receive OTA updates.CreateOtaUpdateRequest.Builder protocolsWithStrings(Collection<String> protocols)
The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.
protocols - The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT].
When both HTTP and MQTT are specified, the target device can choose the protocol.CreateOtaUpdateRequest.Builder protocolsWithStrings(String... protocols)
The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.
protocols - The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT].
When both HTTP and MQTT are specified, the target device can choose the protocol.CreateOtaUpdateRequest.Builder protocols(Collection<Protocol> protocols)
The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.
protocols - The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT].
When both HTTP and MQTT are specified, the target device can choose the protocol.CreateOtaUpdateRequest.Builder protocols(Protocol... protocols)
The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.
protocols - The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT].
When both HTTP and MQTT are specified, the target device can choose the protocol.CreateOtaUpdateRequest.Builder targetSelection(String targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
targetSelection - Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the
things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also
be run on a thing when a change is detected in a target. For example, an update will run on a thing
when the thing is added to a target group, even after the update was completed by all things
originally in the group. Valid values: CONTINUOUS | SNAPSHOT.TargetSelection,
TargetSelectionCreateOtaUpdateRequest.Builder targetSelection(TargetSelection targetSelection)
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
targetSelection - Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the
things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also
be run on a thing when a change is detected in a target. For example, an update will run on a thing
when the thing is added to a target group, even after the update was completed by all things
originally in the group. Valid values: CONTINUOUS | SNAPSHOT.TargetSelection,
TargetSelectionCreateOtaUpdateRequest.Builder awsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
awsJobExecutionsRolloutConfig - Configuration for the rollout of OTA updates.default CreateOtaUpdateRequest.Builder awsJobExecutionsRolloutConfig(Consumer<AwsJobExecutionsRolloutConfig.Builder> awsJobExecutionsRolloutConfig)
Configuration for the rollout of OTA updates.
This is a convenience that creates an instance of theAwsJobExecutionsRolloutConfig.Builder avoiding
the need to create one manually via AwsJobExecutionsRolloutConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to awsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig)
.awsJobExecutionsRolloutConfig - a consumer that will call methods on AwsJobExecutionsRolloutConfig.BuilderawsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig)CreateOtaUpdateRequest.Builder awsJobPresignedUrlConfig(AwsJobPresignedUrlConfig awsJobPresignedUrlConfig)
Configuration information for pre-signed URLs.
awsJobPresignedUrlConfig - Configuration information for pre-signed URLs.default CreateOtaUpdateRequest.Builder awsJobPresignedUrlConfig(Consumer<AwsJobPresignedUrlConfig.Builder> awsJobPresignedUrlConfig)
Configuration information for pre-signed URLs.
This is a convenience that creates an instance of theAwsJobPresignedUrlConfig.Builder avoiding the
need to create one manually via AwsJobPresignedUrlConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to awsJobPresignedUrlConfig(AwsJobPresignedUrlConfig).awsJobPresignedUrlConfig - a consumer that will call methods on AwsJobPresignedUrlConfig.BuilderawsJobPresignedUrlConfig(AwsJobPresignedUrlConfig)CreateOtaUpdateRequest.Builder awsJobAbortConfig(AwsJobAbortConfig awsJobAbortConfig)
The criteria that determine when and how a job abort takes place.
awsJobAbortConfig - The criteria that determine when and how a job abort takes place.default CreateOtaUpdateRequest.Builder awsJobAbortConfig(Consumer<AwsJobAbortConfig.Builder> awsJobAbortConfig)
The criteria that determine when and how a job abort takes place.
This is a convenience that creates an instance of theAwsJobAbortConfig.Builder avoiding the need to
create one manually via AwsJobAbortConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to awsJobAbortConfig(AwsJobAbortConfig).awsJobAbortConfig - a consumer that will call methods on AwsJobAbortConfig.BuilderawsJobAbortConfig(AwsJobAbortConfig)CreateOtaUpdateRequest.Builder awsJobTimeoutConfig(AwsJobTimeoutConfig awsJobTimeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. A 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 timer expires, it will be automatically set to TIMED_OUT.
awsJobTimeoutConfig - Specifies the amount of time each device has to finish its execution of the job. A 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 timer expires, it will be automatically set to
TIMED_OUT.default CreateOtaUpdateRequest.Builder awsJobTimeoutConfig(Consumer<AwsJobTimeoutConfig.Builder> awsJobTimeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. A 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 timer expires, it will be automatically set to TIMED_OUT.
AwsJobTimeoutConfig.Builder avoiding the need
to create one manually via AwsJobTimeoutConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to awsJobTimeoutConfig(AwsJobTimeoutConfig).awsJobTimeoutConfig - a consumer that will call methods on AwsJobTimeoutConfig.BuilderawsJobTimeoutConfig(AwsJobTimeoutConfig)CreateOtaUpdateRequest.Builder files(Collection<OTAUpdateFile> files)
The files to be streamed by the OTA update.
files - The files to be streamed by the OTA update.CreateOtaUpdateRequest.Builder files(OTAUpdateFile... files)
The files to be streamed by the OTA update.
files - The files to be streamed by the OTA update.CreateOtaUpdateRequest.Builder files(Consumer<OTAUpdateFile.Builder>... files)
The files to be streamed by the OTA update.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #files(List) .files - a consumer that will call methods on List.Builder #files(List) CreateOtaUpdateRequest.Builder roleArn(String roleArn)
The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web Services Code Signing resources to create an OTA update job.
roleArn - The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web
Services Code Signing resources to create an OTA update job.CreateOtaUpdateRequest.Builder additionalParameters(Map<String,String> additionalParameters)
A list of additional OTA update parameters which are name-value pairs.
additionalParameters - A list of additional OTA update parameters which are name-value pairs.CreateOtaUpdateRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage updates.
tags - Metadata which can be used to manage updates.CreateOtaUpdateRequest.Builder tags(Tag... tags)
Metadata which can be used to manage updates.
tags - Metadata which can be used to manage updates.CreateOtaUpdateRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage updates.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateOtaUpdateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateOtaUpdateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.