Class CfnTransitGatewayMulticastDomainProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastDomainProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayMulticastDomainProps>
- Enclosing interface:
CfnTransitGatewayMulticastDomainProps
@Stability(Stable)
public static final class CfnTransitGatewayMulticastDomainProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayMulticastDomainProps>
A builder for
CfnTransitGatewayMulticastDomainProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTransitGatewayMulticastDomainProps.getOptions()
Sets the value ofCfnTransitGatewayMulticastDomainProps.getTags()
transitGatewayId
(String transitGatewayId) Sets the value ofCfnTransitGatewayMulticastDomainProps.getTransitGatewayId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transitGatewayId
@Stability(Stable) public CfnTransitGatewayMulticastDomainProps.Builder transitGatewayId(String transitGatewayId) Sets the value ofCfnTransitGatewayMulticastDomainProps.getTransitGatewayId()
- Parameters:
transitGatewayId
- The ID of the transit gateway. This parameter is required.- Returns:
this
-
options
Sets the value ofCfnTransitGatewayMulticastDomainProps.getOptions()
- Parameters:
options
- The options for the transit gateway multicast domain.- AutoAcceptSharedAssociations (enable | disable)
- Igmpv2Support (enable | disable)
- StaticSourcesSupport (enable | disable)
- Returns:
this
-
tags
@Stability(Stable) public CfnTransitGatewayMulticastDomainProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTransitGatewayMulticastDomainProps.getTags()
- Parameters:
tags
- The tags for the transit gateway multicast domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayMulticastDomainProps>
- Returns:
- a new instance of
CfnTransitGatewayMulticastDomainProps
- Throws:
NullPointerException
- if any required attribute was not provided
-