Class CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty>
- Enclosing interface:
CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty
@Stability(Stable)
public static final class CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressOnlyInternetGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty egressOnlyInternetGateway) egressOnlyInternetGateway(IResolvable egressOnlyInternetGateway) elasticFileSystem(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty elasticFileSystem) elasticFileSystem(IResolvable elasticFileSystem) internetGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty internetGateway) internetGateway(IResolvable internetGateway) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getLambda()lambda(IResolvable lambda) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getLambda()natGateway(IResolvable natGateway) virtualPrivateGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty virtualPrivateGateway) virtualPrivateGateway(IResolvable virtualPrivateGateway) vpcLattice(IResolvable vpcLattice) vpcPeering(IResolvable vpcPeering)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressOnlyInternetGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder egressOnlyInternetGateway(IResolvable egressOnlyInternetGateway) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getEgressOnlyInternetGateway()- Parameters:
egressOnlyInternetGateway- Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.- Returns:
this
-
egressOnlyInternetGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder egressOnlyInternetGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty egressOnlyInternetGateway) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getEgressOnlyInternetGateway()- Parameters:
egressOnlyInternetGateway- Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.- Returns:
this
-
elasticFileSystem
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder elasticFileSystem(IResolvable elasticFileSystem) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getElasticFileSystem()- Parameters:
elasticFileSystem- Specifies whether to exclude Elastic File System traffic from encryption enforcement.- Returns:
this
-
elasticFileSystem
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder elasticFileSystem(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty elasticFileSystem) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getElasticFileSystem()- Parameters:
elasticFileSystem- Specifies whether to exclude Elastic File System traffic from encryption enforcement.- Returns:
this
-
internetGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder internetGateway(IResolvable internetGateway) - Parameters:
internetGateway- Specifies whether to exclude internet gateway traffic from encryption enforcement.- Returns:
this
-
internetGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder internetGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty internetGateway) - Parameters:
internetGateway- Specifies whether to exclude internet gateway traffic from encryption enforcement.- Returns:
this
-
lambda
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder lambda(IResolvable lambda) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getLambda()- Parameters:
lambda- Specifies whether to exclude Lambda function traffic from encryption enforcement.- Returns:
this
-
lambda
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder lambda(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty lambda) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getLambda()- Parameters:
lambda- Specifies whether to exclude Lambda function traffic from encryption enforcement.- Returns:
this
-
natGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder natGateway(IResolvable natGateway) - Parameters:
natGateway- Specifies whether to exclude NAT gateway traffic from encryption enforcement.- Returns:
this
-
natGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder natGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty natGateway) - Parameters:
natGateway- Specifies whether to exclude NAT gateway traffic from encryption enforcement.- Returns:
this
-
virtualPrivateGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder virtualPrivateGateway(IResolvable virtualPrivateGateway) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getVirtualPrivateGateway()- Parameters:
virtualPrivateGateway- Specifies whether to exclude virtual private gateway traffic from encryption enforcement.- Returns:
this
-
virtualPrivateGateway
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder virtualPrivateGateway(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty virtualPrivateGateway) Sets the value ofCfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.getVirtualPrivateGateway()- Parameters:
virtualPrivateGateway- Specifies whether to exclude virtual private gateway traffic from encryption enforcement.- Returns:
this
-
vpcLattice
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder vpcLattice(IResolvable vpcLattice) - Parameters:
vpcLattice- Specifies whether to exclude VPC Lattice traffic from encryption enforcement.- Returns:
this
-
vpcLattice
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder vpcLattice(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty vpcLattice) - Parameters:
vpcLattice- Specifies whether to exclude VPC Lattice traffic from encryption enforcement.- Returns:
this
-
vpcPeering
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder vpcPeering(IResolvable vpcPeering) - Parameters:
vpcPeering- Specifies whether to exclude VPC peering connection traffic from encryption enforcement.- Returns:
this
-
vpcPeering
@Stability(Stable) public CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty.Builder vpcPeering(CfnVPCEncryptionControlPropsMixin.VpcEncryptionControlExclusionProperty vpcPeering) - Parameters:
vpcPeering- Specifies whether to exclude VPC peering connection traffic from encryption enforcement.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty>- Returns:
- a new instance of
CfnVPCEncryptionControlPropsMixin.ResourceExclusionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-