Interface CreateWirelessDeviceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWirelessDeviceRequest.Builder,
,CreateWirelessDeviceRequest> IotWirelessRequest.Builder
,SdkBuilder<CreateWirelessDeviceRequest.Builder,
,CreateWirelessDeviceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateWirelessDeviceRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Each resource must have a unique client request token.description
(String description) The description of the new resource.destinationName
(String destinationName) The name of the destination to assign to the new wireless device.loRaWAN
(Consumer<LoRaWANDevice.Builder> loRaWAN) The device configuration information to use to create the wireless device.loRaWAN
(LoRaWANDevice loRaWAN) The device configuration information to use to create the wireless device.The name of the new resource.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.positioning
(String positioning) FPort values for the GNSS, stream, and ClockSync functions of the positioning information.positioning
(PositioningConfigStatus positioning) FPort values for the GNSS, stream, and ClockSync functions of the positioning information.sidewalk
(Consumer<SidewalkCreateWirelessDevice.Builder> sidewalk) The device configuration information to use to create the Sidewalk device.sidewalk
(SidewalkCreateWirelessDevice sidewalk) The device configuration information to use to create the Sidewalk device.tags
(Collection<Tag> tags) The tags to attach to the new wireless device.tags
(Consumer<Tag.Builder>... tags) The tags to attach to the new wireless device.The tags to attach to the new wireless device.The wireless device type.type
(WirelessDeviceType type) The wireless device type.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
-
type
The wireless device type.
- Parameters:
type
- The wireless device type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The wireless device type.
- Parameters:
type
- The wireless device type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the new resource.
- Parameters:
name
- The name of the new resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the new resource.
- Parameters:
description
- The description of the new resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationName
The name of the destination to assign to the new wireless device.
- Parameters:
destinationName
- The name of the destination to assign to the new wireless device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
- Parameters:
clientRequestToken
- Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
The device configuration information to use to create the wireless device.
- Parameters:
loRaWAN
- The device configuration information to use to create the wireless device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
The device configuration information to use to create the wireless device.
This is a convenience method that creates an instance of theLoRaWANDevice.Builder
avoiding the need to create one manually viaLoRaWANDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloRaWAN(LoRaWANDevice)
.- Parameters:
loRaWAN
- a consumer that will call methods onLoRaWANDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
- Parameters:
tags
- The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
- Parameters:
tags
- The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
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:
-
positioning
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
- Parameters:
positioning
- FPort values for the GNSS, stream, and ClockSync functions of the positioning information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
positioning
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
- Parameters:
positioning
- FPort values for the GNSS, stream, and ClockSync functions of the positioning information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sidewalk
The device configuration information to use to create the Sidewalk device.
- Parameters:
sidewalk
- The device configuration information to use to create the Sidewalk device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sidewalk
default CreateWirelessDeviceRequest.Builder sidewalk(Consumer<SidewalkCreateWirelessDevice.Builder> sidewalk) The device configuration information to use to create the Sidewalk device.
This is a convenience method that creates an instance of theSidewalkCreateWirelessDevice.Builder
avoiding the need to create one manually viaSidewalkCreateWirelessDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosidewalk(SidewalkCreateWirelessDevice)
.- Parameters:
sidewalk
- a consumer that will call methods onSidewalkCreateWirelessDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateWirelessDeviceRequest.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
CreateWirelessDeviceRequest.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.
-