Class CfnVPCEncryptionControlProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCEncryptionControlProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEncryptionControlProps>
- Enclosing interface:
CfnVPCEncryptionControlProps
@Stability(Stable)
public static final class CfnVPCEncryptionControlProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEncryptionControlProps>
A builder for
CfnVPCEncryptionControlProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressOnlyInternetGatewayExclusionInput(String egressOnlyInternetGatewayExclusionInput) elasticFileSystemExclusionInput(String elasticFileSystemExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getElasticFileSystemExclusionInput()internetGatewayExclusionInput(String internetGatewayExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getInternetGatewayExclusionInput()lambdaExclusionInput(String lambdaExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getLambdaExclusionInput()Sets the value ofCfnVPCEncryptionControlProps.getMode()natGatewayExclusionInput(String natGatewayExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getNatGatewayExclusionInput()Sets the value ofCfnVPCEncryptionControlProps.getTags()virtualPrivateGatewayExclusionInput(String virtualPrivateGatewayExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getVirtualPrivateGatewayExclusionInput()Sets the value ofCfnVPCEncryptionControlProps.getVpcId()vpcLatticeExclusionInput(String vpcLatticeExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getVpcLatticeExclusionInput()vpcPeeringExclusionInput(String vpcPeeringExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getVpcPeeringExclusionInput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressOnlyInternetGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder egressOnlyInternetGatewayExclusionInput(String egressOnlyInternetGatewayExclusionInput) - Parameters:
egressOnlyInternetGatewayExclusionInput- Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.- Returns:
this
-
elasticFileSystemExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder elasticFileSystemExclusionInput(String elasticFileSystemExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getElasticFileSystemExclusionInput()- Parameters:
elasticFileSystemExclusionInput- Specifies whether to exclude Elastic File System traffic from encryption enforcement.- Returns:
this
-
internetGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder internetGatewayExclusionInput(String internetGatewayExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getInternetGatewayExclusionInput()- Parameters:
internetGatewayExclusionInput- Specifies whether to exclude internet gateway traffic from encryption enforcement.- Returns:
this
-
lambdaExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder lambdaExclusionInput(String lambdaExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getLambdaExclusionInput()- Parameters:
lambdaExclusionInput- Specifies whether to exclude Lambda function traffic from encryption enforcement.- Returns:
this
-
mode
Sets the value ofCfnVPCEncryptionControlProps.getMode()- Parameters:
mode- The encryption mode for the VPC Encryption Control configuration.- Returns:
this
-
natGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder natGatewayExclusionInput(String natGatewayExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getNatGatewayExclusionInput()- Parameters:
natGatewayExclusionInput- Specifies whether to exclude NAT gateway traffic from encryption enforcement.- Returns:
this
-
tags
Sets the value ofCfnVPCEncryptionControlProps.getTags()- Parameters:
tags- The tags assigned to the VPC Encryption Control configuration.- Returns:
this
-
virtualPrivateGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder virtualPrivateGatewayExclusionInput(String virtualPrivateGatewayExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getVirtualPrivateGatewayExclusionInput()- Parameters:
virtualPrivateGatewayExclusionInput- Specifies whether to exclude virtual private gateway traffic from encryption enforcement.- Returns:
this
-
vpcId
Sets the value ofCfnVPCEncryptionControlProps.getVpcId()- Parameters:
vpcId- The ID of the VPC for which to create the encryption control configuration.- Returns:
this
-
vpcLatticeExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder vpcLatticeExclusionInput(String vpcLatticeExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getVpcLatticeExclusionInput()- Parameters:
vpcLatticeExclusionInput- Specifies whether to exclude VPC Lattice traffic from encryption enforcement.- Returns:
this
-
vpcPeeringExclusionInput
@Stability(Stable) public CfnVPCEncryptionControlProps.Builder vpcPeeringExclusionInput(String vpcPeeringExclusionInput) Sets the value ofCfnVPCEncryptionControlProps.getVpcPeeringExclusionInput()- Parameters:
vpcPeeringExclusionInput- 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<CfnVPCEncryptionControlProps>- Returns:
- a new instance of
CfnVPCEncryptionControlProps - Throws:
NullPointerException- if any required attribute was not provided
-