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