Class CfnTransitGatewayMulticastDomainAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastDomainAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayMulticastDomainAssociationProps>
- Enclosing interface:
CfnTransitGatewayMulticastDomainAssociationProps
@Stability(Stable)
public static final class CfnTransitGatewayMulticastDomainAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayMulticastDomainAssociationProps>
A builder for
CfnTransitGatewayMulticastDomainAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTransitGatewayMulticastDomainAssociationProps.getSubnetId()
transitGatewayAttachmentId
(String transitGatewayAttachmentId) transitGatewayMulticastDomainId
(String transitGatewayMulticastDomainId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetId
@Stability(Stable) public CfnTransitGatewayMulticastDomainAssociationProps.Builder subnetId(String subnetId) Sets the value ofCfnTransitGatewayMulticastDomainAssociationProps.getSubnetId()
- Parameters:
subnetId
- The IDs of the subnets to associate with the transit gateway multicast domain. This parameter is required.- Returns:
this
-
transitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayMulticastDomainAssociationProps.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) - Parameters:
transitGatewayAttachmentId
- The ID of the transit gateway attachment. This parameter is required.- Returns:
this
-
transitGatewayMulticastDomainId
@Stability(Stable) public CfnTransitGatewayMulticastDomainAssociationProps.Builder transitGatewayMulticastDomainId(String transitGatewayMulticastDomainId) Sets the value ofCfnTransitGatewayMulticastDomainAssociationProps.getTransitGatewayMulticastDomainId()
- 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<CfnTransitGatewayMulticastDomainAssociationProps>
- Returns:
- a new instance of
CfnTransitGatewayMulticastDomainAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-