Class CfnWirelessDeviceProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnWirelessDeviceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessDeviceProps>
- Enclosing interface:
CfnWirelessDeviceProps
@Stability(Stable)
public static final class CfnWirelessDeviceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessDeviceProps>
A builder for
CfnWirelessDeviceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnWirelessDeviceProps.getDescription()
destinationName
(String destinationName) Sets the value ofCfnWirelessDeviceProps.getDestinationName()
lastUplinkReceivedAt
(String lastUplinkReceivedAt) Sets the value ofCfnWirelessDeviceProps.getLastUplinkReceivedAt()
loRaWan
(IResolvable loRaWan) Sets the value ofCfnWirelessDeviceProps.getLoRaWan()
Sets the value ofCfnWirelessDeviceProps.getLoRaWan()
Sets the value ofCfnWirelessDeviceProps.getName()
positioning
(String positioning) Sets the value ofCfnWirelessDeviceProps.getPositioning()
Sets the value ofCfnWirelessDeviceProps.getTags()
Sets the value ofCfnWirelessDeviceProps.getThingArn()
Sets the value ofCfnWirelessDeviceProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationName
Sets the value ofCfnWirelessDeviceProps.getDestinationName()
- Parameters:
destinationName
- The name of the destination to assign to the new wireless device. This parameter is required. Can have only have alphanumeric, - (hyphen) and _ (underscore) characters and it can't have any spaces.- Returns:
this
-
type
Sets the value ofCfnWirelessDeviceProps.getType()
- Parameters:
type
- The wireless device type. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWirelessDeviceProps.getDescription()
- Parameters:
description
- The description of the new resource. Maximum length is 2048.- Returns:
this
-
lastUplinkReceivedAt
@Stability(Stable) public CfnWirelessDeviceProps.Builder lastUplinkReceivedAt(String lastUplinkReceivedAt) Sets the value ofCfnWirelessDeviceProps.getLastUplinkReceivedAt()
- Parameters:
lastUplinkReceivedAt
- The date and time when the most recent uplink was received.- Returns:
this
-
loRaWan
Sets the value ofCfnWirelessDeviceProps.getLoRaWan()
- Parameters:
loRaWan
- The device configuration information to use to create the wireless device. Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.- Returns:
this
-
loRaWan
@Stability(Stable) public CfnWirelessDeviceProps.Builder loRaWan(CfnWirelessDevice.LoRaWANDeviceProperty loRaWan) Sets the value ofCfnWirelessDeviceProps.getLoRaWan()
- Parameters:
loRaWan
- The device configuration information to use to create the wireless device. Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.- Returns:
this
-
name
Sets the value ofCfnWirelessDeviceProps.getName()
- Parameters:
name
- The name of the new resource.- Returns:
this
-
positioning
Sets the value ofCfnWirelessDeviceProps.getPositioning()
- Parameters:
positioning
- FPort values for the GNSS, Stream, and ClockSync functions of the positioning information.- Returns:
this
-
tags
Sets the value ofCfnWirelessDeviceProps.getTags()
- Parameters:
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.- Returns:
this
-
thingArn
Sets the value ofCfnWirelessDeviceProps.getThingArn()
- Parameters:
thingArn
- The ARN of the thing to associate with the wireless device.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWirelessDeviceProps>
- Returns:
- a new instance of
CfnWirelessDeviceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-