Interface StartSingleWirelessDeviceImportTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartSingleWirelessDeviceImportTaskRequest.Builder,
,StartSingleWirelessDeviceImportTaskRequest> IotWirelessRequest.Builder
,SdkBuilder<StartSingleWirelessDeviceImportTaskRequest.Builder,
,StartSingleWirelessDeviceImportTaskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartSingleWirelessDeviceImportTaskRequest
public static interface StartSingleWirelessDeviceImportTaskRequest.Builder
extends IotWirelessRequest.Builder, SdkPojo, CopyableBuilder<StartSingleWirelessDeviceImportTaskRequest.Builder,StartSingleWirelessDeviceImportTaskRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.destinationName
(String destinationName) The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.deviceName
(String deviceName) The name of the wireless device for which an import task is being started.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Sidewalk-related parameters for importing a single wireless device.sidewalk
(SidewalkSingleStartImportInfo sidewalk) The Sidewalk-related parameters for importing a single wireless device.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.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.iotwireless.model.IotWirelessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
destinationName
The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.
- Parameters:
destinationName
- The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken
- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceName
The name of the wireless device for which an import task is being started.
- Parameters:
deviceName
- The name of the wireless device for which an import task is being started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sidewalk
The Sidewalk-related parameters for importing a single wireless device.
- Parameters:
sidewalk
- The Sidewalk-related parameters for importing a single wireless device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sidewalk
default StartSingleWirelessDeviceImportTaskRequest.Builder sidewalk(Consumer<SidewalkSingleStartImportInfo.Builder> sidewalk) The Sidewalk-related parameters for importing a single wireless device.
This is a convenience method that creates an instance of theSidewalkSingleStartImportInfo.Builder
avoiding the need to create one manually viaSidewalkSingleStartImportInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosidewalk(SidewalkSingleStartImportInfo)
.- Parameters:
sidewalk
- a consumer that will call methods onSidewalkSingleStartImportInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartSingleWirelessDeviceImportTaskRequest.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
StartSingleWirelessDeviceImportTaskRequest.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.
-