Class CfnWirelessDeviceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotwireless.CfnWirelessDeviceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessDeviceMixinProps>
- Enclosing interface:
CfnWirelessDeviceMixinProps
@Stability(Stable)
public static final class CfnWirelessDeviceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessDeviceMixinProps>
A builder for
CfnWirelessDeviceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWirelessDeviceMixinProps.getDescription()destinationName(String destinationName) Sets the value ofCfnWirelessDeviceMixinProps.getDestinationName()lastUplinkReceivedAt(String lastUplinkReceivedAt) Sets the value ofCfnWirelessDeviceMixinProps.getLastUplinkReceivedAt()Sets the value ofCfnWirelessDeviceMixinProps.getLoRaWan()loRaWan(IResolvable loRaWan) Sets the value ofCfnWirelessDeviceMixinProps.getLoRaWan()Sets the value ofCfnWirelessDeviceMixinProps.getName()positioning(String positioning) Sets the value ofCfnWirelessDeviceMixinProps.getPositioning()Sets the value ofCfnWirelessDeviceMixinProps.getTags()Sets the value ofCfnWirelessDeviceMixinProps.getThingArn()Sets the value ofCfnWirelessDeviceMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnWirelessDeviceMixinProps.getDescription()- Parameters:
description- The description of the new resource. Maximum length is 2048.- Returns:
this
-
destinationName
@Stability(Stable) public CfnWirelessDeviceMixinProps.Builder destinationName(String destinationName) Sets the value ofCfnWirelessDeviceMixinProps.getDestinationName()- Parameters:
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.- Returns:
this
-
lastUplinkReceivedAt
@Stability(Stable) public CfnWirelessDeviceMixinProps.Builder lastUplinkReceivedAt(String lastUplinkReceivedAt) Sets the value ofCfnWirelessDeviceMixinProps.getLastUplinkReceivedAt()- Parameters:
lastUplinkReceivedAt- The date and time when the most recent uplink was received.- Returns:
this
-
loRaWan
Sets the value ofCfnWirelessDeviceMixinProps.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 CfnWirelessDeviceMixinProps.Builder loRaWan(CfnWirelessDevicePropsMixin.LoRaWANDeviceProperty loRaWan) Sets the value ofCfnWirelessDeviceMixinProps.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 ofCfnWirelessDeviceMixinProps.getName()- Parameters:
name- The name of the new resource.- Returns:
this
-
positioning
Sets the value ofCfnWirelessDeviceMixinProps.getPositioning()- Parameters:
positioning- FPort values for the GNSS, Stream, and ClockSync functions of the positioning information.- Returns:
this
-
tags
Sets the value ofCfnWirelessDeviceMixinProps.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 ofCfnWirelessDeviceMixinProps.getThingArn()- Parameters:
thingArn- The ARN of the thing to associate with the wireless device.- Returns:
this
-
type
Sets the value ofCfnWirelessDeviceMixinProps.getType()- Parameters:
type- The wireless device type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWirelessDeviceMixinProps>- Returns:
- a new instance of
CfnWirelessDeviceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-