Class CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayAttachmentPropsMixin.OptionsProperty>
- Enclosing interface:
CfnTransitGatewayAttachmentPropsMixin.OptionsProperty
@Stability(Stable)
public static final class CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayAttachmentPropsMixin.OptionsProperty>
A builder for
CfnTransitGatewayAttachmentPropsMixin.OptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplianceModeSupport(String applianceModeSupport) build()Builds the configured instance.dnsSupport(String dnsSupport) Sets the value ofCfnTransitGatewayAttachmentPropsMixin.OptionsProperty.getDnsSupport()ipv6Support(String ipv6Support) Sets the value ofCfnTransitGatewayAttachmentPropsMixin.OptionsProperty.getIpv6Support()securityGroupReferencingSupport(String securityGroupReferencingSupport)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applianceModeSupport
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder applianceModeSupport(String applianceModeSupport) - Parameters:
applianceModeSupport- Enable or disable appliance mode support. The default isdisable.- Returns:
this
-
dnsSupport
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder dnsSupport(String dnsSupport) Sets the value ofCfnTransitGatewayAttachmentPropsMixin.OptionsProperty.getDnsSupport()- Parameters:
dnsSupport- Enable or disable DNS support. The default isdisable.- Returns:
this
-
ipv6Support
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder ipv6Support(String ipv6Support) Sets the value ofCfnTransitGatewayAttachmentPropsMixin.OptionsProperty.getIpv6Support()- Parameters:
ipv6Support- Enable or disable IPv6 support. The default isdisable.- Returns:
this
-
securityGroupReferencingSupport
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.OptionsProperty.Builder securityGroupReferencingSupport(String securityGroupReferencingSupport) Sets the value ofCfnTransitGatewayAttachmentPropsMixin.OptionsProperty.getSecurityGroupReferencingSupport()- Parameters:
securityGroupReferencingSupport- Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.For important information about this feature, see Create a transit gateway in the AWS Transit Gateway Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayAttachmentPropsMixin.OptionsProperty>- Returns:
- a new instance of
CfnTransitGatewayAttachmentPropsMixin.OptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-