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