Class CfnTransitGatewayMulticastGroupMemberProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastGroupMemberProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayMulticastGroupMemberProps>
- Enclosing interface:
CfnTransitGatewayMulticastGroupMemberProps
@Stability(Stable)
public static final class CfnTransitGatewayMulticastGroupMemberProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayMulticastGroupMemberProps>
A builder for
CfnTransitGatewayMulticastGroupMemberProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.groupIpAddress
(String groupIpAddress) Sets the value ofCfnTransitGatewayMulticastGroupMemberProps.getGroupIpAddress()
networkInterfaceId
(String networkInterfaceId) Sets the value ofCfnTransitGatewayMulticastGroupMemberProps.getNetworkInterfaceId()
transitGatewayMulticastDomainId
(String transitGatewayMulticastDomainId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupIpAddress
@Stability(Stable) public CfnTransitGatewayMulticastGroupMemberProps.Builder groupIpAddress(String groupIpAddress) Sets the value ofCfnTransitGatewayMulticastGroupMemberProps.getGroupIpAddress()
- Parameters:
groupIpAddress
- The IP address assigned to the transit gateway multicast group. This parameter is required.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public CfnTransitGatewayMulticastGroupMemberProps.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofCfnTransitGatewayMulticastGroupMemberProps.getNetworkInterfaceId()
- Parameters:
networkInterfaceId
- The group members' network interface IDs to register with the transit gateway multicast group. This parameter is required.- Returns:
this
-
transitGatewayMulticastDomainId
@Stability(Stable) public CfnTransitGatewayMulticastGroupMemberProps.Builder transitGatewayMulticastDomainId(String transitGatewayMulticastDomainId) - Parameters:
transitGatewayMulticastDomainId
- The ID of the transit gateway multicast domain. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayMulticastGroupMemberProps>
- Returns:
- a new instance of
CfnTransitGatewayMulticastGroupMemberProps
- Throws:
NullPointerException
- if any required attribute was not provided
-