Class CfnWirelessDevice.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnWirelessDevice.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessDevice>
- Enclosing class:
- CfnWirelessDevice
@Stability(Stable)
public static final class CfnWirelessDevice.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessDevice>
A fluent builder for
CfnWirelessDevice
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnWirelessDevice.Builder
description
(String description) The description of the new resource.destinationName
(String destinationName) The name of the destination to assign to the new wireless device.lastUplinkReceivedAt
(String lastUplinkReceivedAt) The date and time when the most recent uplink was received.loRaWan
(IResolvable loRaWan) The device configuration information to use to create the wireless device.The device configuration information to use to create the wireless device.The name of the new resource.The tags are an array of key-value pairs to attach to the specified resource.The ARN of the thing to associate with the wireless device.The wireless device type.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnWirelessDevice.Builder
.
-
destinationName
The name of the destination to assign to the new wireless device.Can have only have alphanumeric, - (hyphen) and _ (underscore) characters and it can't have any spaces.
- Parameters:
destinationName
- The name of the destination to assign to the new wireless device. This parameter is required.- Returns:
this
-
type
The wireless device type.- Parameters:
type
- The wireless device type. This parameter is required.- Returns:
this
-
description
The description of the new resource.Maximum length is 2048.
- Parameters:
description
- The description of the new resource. This parameter is required.- Returns:
this
-
lastUplinkReceivedAt
@Stability(Stable) public CfnWirelessDevice.Builder lastUplinkReceivedAt(String lastUplinkReceivedAt) The date and time when the most recent uplink was received.- Parameters:
lastUplinkReceivedAt
- The date and time when the most recent uplink was received. This parameter is required.- Returns:
this
-
loRaWan
The device configuration information to use to create the wireless device.Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.
- Parameters:
loRaWan
- The device configuration information to use to create the wireless device. This parameter is required.- Returns:
this
-
loRaWan
@Stability(Stable) public CfnWirelessDevice.Builder loRaWan(CfnWirelessDevice.LoRaWANDeviceProperty loRaWan) The device configuration information to use to create the wireless device.Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.
- Parameters:
loRaWan
- The device configuration information to use to create the wireless device. This parameter is required.- Returns:
this
-
name
The name of the new resource.- Parameters:
name
- The name of the new resource. This parameter is required.- Returns:
this
-
tags
The tags are an array of key-value pairs to attach to the specified resource.Tags can have a minimum of 0 and a maximum of 50 items.
- Parameters:
tags
- The tags are an array of key-value pairs to attach to the specified resource. This parameter is required.- Returns:
this
-
thingArn
The ARN of the thing to associate with the wireless device.- Parameters:
thingArn
- The ARN of the thing to associate with the wireless device. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWirelessDevice>
- Returns:
- a newly built instance of
CfnWirelessDevice
.
-