Interface CreateOtaTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOtaTaskRequest.Builder,
,CreateOtaTaskRequest> IotManagedIntegrationsRequest.Builder
,SdkBuilder<CreateOtaTaskRequest.Builder,
,CreateOtaTaskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOtaTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) An idempotency token.description
(String description) The description of the over-the-air (OTA) task.otaMechanism
(String otaMechanism) The deployment mechanism for the over-the-air (OTA) task.otaMechanism
(OtaMechanism otaMechanism) The deployment mechanism for the over-the-air (OTA) task.default CreateOtaTaskRequest.Builder
otaSchedulingConfig
(Consumer<OtaTaskSchedulingConfig.Builder> otaSchedulingConfig) Sets the value of the OtaSchedulingConfig property for this object.otaSchedulingConfig
(OtaTaskSchedulingConfig otaSchedulingConfig) Sets the value of the OtaSchedulingConfig property for this object.otaTargetQueryString
(String otaTargetQueryString) The query string to add things to the thing group.default CreateOtaTaskRequest.Builder
otaTaskExecutionRetryConfig
(Consumer<OtaTaskExecutionRetryConfig.Builder> otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object.otaTaskExecutionRetryConfig
(OtaTaskExecutionRetryConfig otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object.The frequency type for the over-the-air (OTA) task.The frequency type for the over-the-air (OTA) task.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The connection protocol the over-the-air (OTA) task uses to update the device.protocol
(OtaProtocol protocol) The connection protocol the over-the-air (OTA) task uses to update the device.The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.A set of key/value pairs that are used to manage the over-the-air (OTA) task.The device targeted for the over-the-air (OTA) task.target
(Collection<String> target) The device targeted for the over-the-air (OTA) task.taskConfigurationId
(String taskConfigurationId) The identifier for the over-the-air (OTA) task configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
The description of the over-the-air (OTA) task.
- Parameters:
description
- The description of the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Url
The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.
- Parameters:
s3Url
- The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The connection protocol the over-the-air (OTA) task uses to update the device.
- Parameters:
protocol
- The connection protocol the over-the-air (OTA) task uses to update the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The connection protocol the over-the-air (OTA) task uses to update the device.
- Parameters:
protocol
- The connection protocol the over-the-air (OTA) task uses to update the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The device targeted for the over-the-air (OTA) task.
- Parameters:
target
- The device targeted for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The device targeted for the over-the-air (OTA) task.
- Parameters:
target
- The device targeted for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskConfigurationId
The identifier for the over-the-air (OTA) task configuration.
- Parameters:
taskConfigurationId
- The identifier for the over-the-air (OTA) task configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaMechanism
The deployment mechanism for the over-the-air (OTA) task.
- Parameters:
otaMechanism
- The deployment mechanism for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaMechanism
The deployment mechanism for the over-the-air (OTA) task.
- Parameters:
otaMechanism
- The deployment mechanism for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaType
The frequency type for the over-the-air (OTA) task.
- Parameters:
otaType
- The frequency type for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaType
The frequency type for the over-the-air (OTA) task.
- Parameters:
otaType
- The frequency type for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaTargetQueryString
The query string to add things to the thing group.
- Parameters:
otaTargetQueryString
- The query string to add things to the thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.
- Parameters:
clientToken
- An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaSchedulingConfig
Sets the value of the OtaSchedulingConfig property for this object.- Parameters:
otaSchedulingConfig
- The new value for the OtaSchedulingConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaSchedulingConfig
default CreateOtaTaskRequest.Builder otaSchedulingConfig(Consumer<OtaTaskSchedulingConfig.Builder> otaSchedulingConfig) Sets the value of the OtaSchedulingConfig property for this object. This is a convenience method that creates an instance of theOtaTaskSchedulingConfig.Builder
avoiding the need to create one manually viaOtaTaskSchedulingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tootaSchedulingConfig(OtaTaskSchedulingConfig)
.- Parameters:
otaSchedulingConfig
- a consumer that will call methods onOtaTaskSchedulingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaTaskExecutionRetryConfig
CreateOtaTaskRequest.Builder otaTaskExecutionRetryConfig(OtaTaskExecutionRetryConfig otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object.- Parameters:
otaTaskExecutionRetryConfig
- The new value for the OtaTaskExecutionRetryConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaTaskExecutionRetryConfig
default CreateOtaTaskRequest.Builder otaTaskExecutionRetryConfig(Consumer<OtaTaskExecutionRetryConfig.Builder> otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object. This is a convenience method that creates an instance of theOtaTaskExecutionRetryConfig.Builder
avoiding the need to create one manually viaOtaTaskExecutionRetryConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tootaTaskExecutionRetryConfig(OtaTaskExecutionRetryConfig)
.- Parameters:
otaTaskExecutionRetryConfig
- a consumer that will call methods onOtaTaskExecutionRetryConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A set of key/value pairs that are used to manage the over-the-air (OTA) task.
- Parameters:
tags
- A set of key/value pairs that are used to manage the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateOtaTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOtaTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-