Class CfnMulticastGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnMulticastGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMulticastGroupProps>
- Enclosing interface:
CfnMulticastGroupProps
@Stability(Stable)
public static final class CfnMulticastGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMulticastGroupProps>
A builder for
CfnMulticastGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassociateWirelessDevice
(String associateWirelessDevice) Sets the value ofCfnMulticastGroupProps.getAssociateWirelessDevice()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnMulticastGroupProps.getDescription()
disassociateWirelessDevice
(String disassociateWirelessDevice) Sets the value ofCfnMulticastGroupProps.getDisassociateWirelessDevice()
loRaWan
(IResolvable loRaWan) Sets the value ofCfnMulticastGroupProps.getLoRaWan()
loRaWan
(CfnMulticastGroup.LoRaWANProperty loRaWan) Sets the value ofCfnMulticastGroupProps.getLoRaWan()
Sets the value ofCfnMulticastGroupProps.getName()
Sets the value ofCfnMulticastGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loRaWan
Sets the value ofCfnMulticastGroupProps.getLoRaWan()
- Parameters:
loRaWan
- The LoRaWAN information that is to be used with the multicast group. This parameter is required.- Returns:
this
-
loRaWan
@Stability(Stable) public CfnMulticastGroupProps.Builder loRaWan(CfnMulticastGroup.LoRaWANProperty loRaWan) Sets the value ofCfnMulticastGroupProps.getLoRaWan()
- Parameters:
loRaWan
- The LoRaWAN information that is to be used with the multicast group. This parameter is required.- Returns:
this
-
associateWirelessDevice
@Stability(Stable) public CfnMulticastGroupProps.Builder associateWirelessDevice(String associateWirelessDevice) Sets the value ofCfnMulticastGroupProps.getAssociateWirelessDevice()
- Parameters:
associateWirelessDevice
- The ID of the wireless device to associate with a multicast group.- Returns:
this
-
description
Sets the value ofCfnMulticastGroupProps.getDescription()
- Parameters:
description
- The description of the multicast group.- Returns:
this
-
disassociateWirelessDevice
@Stability(Stable) public CfnMulticastGroupProps.Builder disassociateWirelessDevice(String disassociateWirelessDevice) Sets the value ofCfnMulticastGroupProps.getDisassociateWirelessDevice()
- Parameters:
disassociateWirelessDevice
- The ID of the wireless device to disassociate from a multicast group.- Returns:
this
-
name
Sets the value ofCfnMulticastGroupProps.getName()
- Parameters:
name
- The name of the multicast group.- Returns:
this
-
tags
Sets the value ofCfnMulticastGroupProps.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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMulticastGroupProps>
- Returns:
- a new instance of
CfnMulticastGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-