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