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 Details

    • create

      @Stability(Stable) public static CfnWirelessDevice.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnWirelessDevice.Builder.
    • destinationName

      @Stability(Stable) public CfnWirelessDevice.Builder destinationName(String 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

      @Stability(Stable) public CfnWirelessDevice.Builder type(String type)
      The wireless device type.

      Parameters:
      type - The wireless device type. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnWirelessDevice.Builder description(String 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

      @Stability(Stable) public CfnWirelessDevice.Builder loRaWan(IResolvable 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

      @Stability(Stable) public CfnWirelessDevice.Builder name(String name)
      The name of the new resource.

      Parameters:
      name - The name of the new resource. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnWirelessDevice.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnWirelessDevice.Builder thingArn(String 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

      @Stability(Stable) public CfnWirelessDevice build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnWirelessDevice>
      Returns:
      a newly built instance of CfnWirelessDevice.