Class CfnVpcAttachment.VpcOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnVpcAttachment.VpcOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcAttachment.VpcOptionsProperty>
- Enclosing interface:
CfnVpcAttachment.VpcOptionsProperty
@Stability(Stable)
public static final class CfnVpcAttachment.VpcOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcAttachment.VpcOptionsProperty>
A builder for
CfnVpcAttachment.VpcOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplianceModeSupport(Boolean applianceModeSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getApplianceModeSupport()applianceModeSupport(IResolvable applianceModeSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getApplianceModeSupport()build()Builds the configured instance.dnsSupport(Boolean dnsSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getDnsSupport()dnsSupport(IResolvable dnsSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getDnsSupport()ipv6Support(Boolean ipv6Support) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getIpv6Support()ipv6Support(IResolvable ipv6Support) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getIpv6Support()securityGroupReferencingSupport(Boolean securityGroupReferencingSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getSecurityGroupReferencingSupport()securityGroupReferencingSupport(IResolvable securityGroupReferencingSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getSecurityGroupReferencingSupport()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applianceModeSupport
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder applianceModeSupport(Boolean applianceModeSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getApplianceModeSupport()- Parameters:
applianceModeSupport- Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value isfalse.- Returns:
this
-
applianceModeSupport
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder applianceModeSupport(IResolvable applianceModeSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getApplianceModeSupport()- Parameters:
applianceModeSupport- Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value isfalse.- Returns:
this
-
dnsSupport
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder dnsSupport(Boolean dnsSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getDnsSupport()- Parameters:
dnsSupport- Indicates whether DNS is supported.- Returns:
this
-
dnsSupport
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder dnsSupport(IResolvable dnsSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getDnsSupport()- Parameters:
dnsSupport- Indicates whether DNS is supported.- Returns:
this
-
ipv6Support
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder ipv6Support(Boolean ipv6Support) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getIpv6Support()- Parameters:
ipv6Support- Indicates whether IPv6 is supported.- Returns:
this
-
ipv6Support
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder ipv6Support(IResolvable ipv6Support) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getIpv6Support()- Parameters:
ipv6Support- Indicates whether IPv6 is supported.- Returns:
this
-
securityGroupReferencingSupport
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder securityGroupReferencingSupport(Boolean securityGroupReferencingSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getSecurityGroupReferencingSupport()- Parameters:
securityGroupReferencingSupport- Indicates whether security group referencing is enabled for this VPC attachment. The default istrue. However, at the core network policy-level the default is set tofalse.- Returns:
this
-
securityGroupReferencingSupport
@Stability(Stable) public CfnVpcAttachment.VpcOptionsProperty.Builder securityGroupReferencingSupport(IResolvable securityGroupReferencingSupport) Sets the value ofCfnVpcAttachment.VpcOptionsProperty.getSecurityGroupReferencingSupport()- Parameters:
securityGroupReferencingSupport- Indicates whether security group referencing is enabled for this VPC attachment. The default istrue. However, at the core network policy-level the default is set tofalse.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcAttachment.VpcOptionsProperty>- Returns:
- a new instance of
CfnVpcAttachment.VpcOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-