Class TransitGatewayMulticastGroupSourceReference.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.TransitGatewayMulticastGroupSourceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransitGatewayMulticastGroupSourceReference>
- Enclosing interface:
TransitGatewayMulticastGroupSourceReference
@Stability(Stable)
public static final class TransitGatewayMulticastGroupSourceReference.Builder
extends Object
implements software.amazon.jsii.Builder<TransitGatewayMulticastGroupSourceReference>
A builder for
TransitGatewayMulticastGroupSourceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.groupIpAddress(String groupIpAddress) Sets the value ofTransitGatewayMulticastGroupSourceReference.getGroupIpAddress()networkInterfaceId(String networkInterfaceId) Sets the value ofTransitGatewayMulticastGroupSourceReference.getNetworkInterfaceId()transitGatewayMulticastDomainId(String transitGatewayMulticastDomainId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupIpAddress
@Stability(Stable) public TransitGatewayMulticastGroupSourceReference.Builder groupIpAddress(String groupIpAddress) Sets the value ofTransitGatewayMulticastGroupSourceReference.getGroupIpAddress()- Parameters:
groupIpAddress- The GroupIpAddress of the TransitGatewayMulticastGroupSource resource. This parameter is required.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public TransitGatewayMulticastGroupSourceReference.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofTransitGatewayMulticastGroupSourceReference.getNetworkInterfaceId()- Parameters:
networkInterfaceId- The NetworkInterfaceId of the TransitGatewayMulticastGroupSource resource. This parameter is required.- Returns:
this
-
transitGatewayMulticastDomainId
@Stability(Stable) public TransitGatewayMulticastGroupSourceReference.Builder transitGatewayMulticastDomainId(String transitGatewayMulticastDomainId) - Parameters:
transitGatewayMulticastDomainId- The TransitGatewayMulticastDomainId of the TransitGatewayMulticastGroupSource resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransitGatewayMulticastGroupSourceReference>- Returns:
- a new instance of
TransitGatewayMulticastGroupSourceReference - Throws:
NullPointerException- if any required attribute was not provided
-