Class MulticastGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.MulticastGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MulticastGroupReference>
- Enclosing interface:
MulticastGroupReference
@Stability(Stable)
public static final class MulticastGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<MulticastGroupReference>
A builder for
MulticastGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.multicastGroupArn
(String multicastGroupArn) Sets the value ofMulticastGroupReference.getMulticastGroupArn()
multicastGroupId
(String multicastGroupId) Sets the value ofMulticastGroupReference.getMulticastGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
multicastGroupArn
@Stability(Stable) public MulticastGroupReference.Builder multicastGroupArn(String multicastGroupArn) Sets the value ofMulticastGroupReference.getMulticastGroupArn()
- Parameters:
multicastGroupArn
- The ARN of the MulticastGroup resource. This parameter is required.- Returns:
this
-
multicastGroupId
Sets the value ofMulticastGroupReference.getMulticastGroupId()
- Parameters:
multicastGroupId
- The Id of the MulticastGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MulticastGroupReference>
- Returns:
- a new instance of
MulticastGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-