Class CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty>
- Enclosing interface:
CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty
@Stability(Stable)
public static final class CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty>
A builder for
CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressOnlyInternetGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty egressOnlyInternetGateway) egressOnlyInternetGateway(IResolvable egressOnlyInternetGateway) elasticFileSystem(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty elasticFileSystem) elasticFileSystem(IResolvable elasticFileSystem) internetGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty internetGateway) internetGateway(IResolvable internetGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getLambda()lambda(IResolvable lambda) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getLambda()Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getNatGateway()natGateway(IResolvable natGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getNatGateway()virtualPrivateGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty virtualPrivateGateway) virtualPrivateGateway(IResolvable virtualPrivateGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcLattice()vpcLattice(IResolvable vpcLattice) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcLattice()Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcPeering()vpcPeering(IResolvable vpcPeering) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcPeering()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressOnlyInternetGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder egressOnlyInternetGateway(IResolvable egressOnlyInternetGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getEgressOnlyInternetGateway()- Parameters:
egressOnlyInternetGateway- the value to be set.- Returns:
this
-
egressOnlyInternetGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder egressOnlyInternetGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty egressOnlyInternetGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getEgressOnlyInternetGateway()- Parameters:
egressOnlyInternetGateway- the value to be set.- Returns:
this
-
elasticFileSystem
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder elasticFileSystem(IResolvable elasticFileSystem) - Parameters:
elasticFileSystem- the value to be set.- Returns:
this
-
elasticFileSystem
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder elasticFileSystem(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty elasticFileSystem) - Parameters:
elasticFileSystem- the value to be set.- Returns:
this
-
internetGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder internetGateway(IResolvable internetGateway) - Parameters:
internetGateway- the value to be set.- Returns:
this
-
internetGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder internetGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty internetGateway) - Parameters:
internetGateway- the value to be set.- Returns:
this
-
lambda
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder lambda(IResolvable lambda) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getLambda()- Parameters:
lambda- the value to be set.- Returns:
this
-
lambda
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder lambda(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty lambda) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getLambda()- Parameters:
lambda- the value to be set.- Returns:
this
-
natGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder natGateway(IResolvable natGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getNatGateway()- Parameters:
natGateway- the value to be set.- Returns:
this
-
natGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder natGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty natGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getNatGateway()- Parameters:
natGateway- the value to be set.- Returns:
this
-
virtualPrivateGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder virtualPrivateGateway(IResolvable virtualPrivateGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVirtualPrivateGateway()- Parameters:
virtualPrivateGateway- the value to be set.- Returns:
this
-
virtualPrivateGateway
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder virtualPrivateGateway(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty virtualPrivateGateway) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVirtualPrivateGateway()- Parameters:
virtualPrivateGateway- the value to be set.- Returns:
this
-
vpcLattice
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder vpcLattice(IResolvable vpcLattice) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcLattice()- Parameters:
vpcLattice- the value to be set.- Returns:
this
-
vpcLattice
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder vpcLattice(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty vpcLattice) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcLattice()- Parameters:
vpcLattice- the value to be set.- Returns:
this
-
vpcPeering
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder vpcPeering(IResolvable vpcPeering) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcPeering()- Parameters:
vpcPeering- the value to be set.- Returns:
this
-
vpcPeering
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.Builder vpcPeering(CfnVPCPropsMixin.VpcEncryptionControlExclusionProperty vpcPeering) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty.getVpcPeering()- Parameters:
vpcPeering- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty>- Returns:
- a new instance of
CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-