Interface CreateOtaTaskConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOtaTaskConfigurationRequest.Builder,
,CreateOtaTaskConfigurationRequest> IotManagedIntegrationsRequest.Builder
,SdkBuilder<CreateOtaTaskConfigurationRequest.Builder,
,CreateOtaTaskConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOtaTaskConfigurationRequest
@Mutable
@NotThreadSafe
public static interface CreateOtaTaskConfigurationRequest.Builder
extends IotManagedIntegrationsRequest.Builder, SdkPojo, CopyableBuilder<CreateOtaTaskConfigurationRequest.Builder,CreateOtaTaskConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) An idempotency token.description
(String description) A description of the over-the-air (OTA) task configuration.The name of 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.pushConfig
(Consumer<PushConfig.Builder> pushConfig) Describes the type of configuration used for the over-the-air (OTA) task.pushConfig
(PushConfig pushConfig) Describes the type of configuration used for the over-the-air (OTA) task.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
A description of the over-the-air (OTA) task configuration.
- Parameters:
description
- A description of the over-the-air (OTA) task configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the over-the-air (OTA) task.
- Parameters:
name
- The name of the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pushConfig
Describes the type of configuration used for the over-the-air (OTA) task.
- Parameters:
pushConfig
- Describes the type of configuration used for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pushConfig
default CreateOtaTaskConfigurationRequest.Builder pushConfig(Consumer<PushConfig.Builder> pushConfig) Describes the type of configuration used for the over-the-air (OTA) task.
This is a convenience method that creates an instance of thePushConfig.Builder
avoiding the need to create one manually viaPushConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topushConfig(PushConfig)
.- Parameters:
pushConfig
- a consumer that will call methods onPushConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
CreateOtaTaskConfigurationRequest.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
CreateOtaTaskConfigurationRequest.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.
-