Class CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCPropsMixin.VpcEncryptionControlProperty>
- Enclosing interface:
CfnVPCPropsMixin.VpcEncryptionControlProperty
@Stability(Stable)
public static final class CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCPropsMixin.VpcEncryptionControlProperty>
A builder for
CfnVPCPropsMixin.VpcEncryptionControlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressOnlyInternetGatewayExclusion(String egressOnlyInternetGatewayExclusion) elasticFileSystemExclusion(String elasticFileSystemExclusion) internetGatewayExclusion(String internetGatewayExclusion) lambdaExclusion(String lambdaExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getLambdaExclusion()Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getMode()natGatewayExclusion(String natGatewayExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getNatGatewayExclusion()resourceExclusions(CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty resourceExclusions) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getResourceExclusions()resourceExclusions(IResolvable resourceExclusions) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getResourceExclusions()Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getState()stateMessage(String stateMessage) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getStateMessage()virtualPrivateGatewayExclusion(String virtualPrivateGatewayExclusion) vpcEncryptionControlId(String vpcEncryptionControlId) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getVpcId()vpcLatticeExclusion(String vpcLatticeExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getVpcLatticeExclusion()vpcPeeringExclusion(String vpcPeeringExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getVpcPeeringExclusion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressOnlyInternetGatewayExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder egressOnlyInternetGatewayExclusion(String egressOnlyInternetGatewayExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getEgressOnlyInternetGatewayExclusion()- Parameters:
egressOnlyInternetGatewayExclusion- the value to be set.- Returns:
this
-
elasticFileSystemExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder elasticFileSystemExclusion(String elasticFileSystemExclusion) - Parameters:
elasticFileSystemExclusion- the value to be set.- Returns:
this
-
internetGatewayExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder internetGatewayExclusion(String internetGatewayExclusion) - Parameters:
internetGatewayExclusion- the value to be set.- Returns:
this
-
lambdaExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder lambdaExclusion(String lambdaExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getLambdaExclusion()- Parameters:
lambdaExclusion- the value to be set.- Returns:
this
-
mode
Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getMode()- Parameters:
mode- The encryption mode for the VPC Encryption Control configuration.- Returns:
this
-
natGatewayExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder natGatewayExclusion(String natGatewayExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getNatGatewayExclusion()- Parameters:
natGatewayExclusion- the value to be set.- Returns:
this
-
resourceExclusions
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder resourceExclusions(IResolvable resourceExclusions) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getResourceExclusions()- Parameters:
resourceExclusions- Describes the exclusion configurations for various resource types in VPC Encryption Control. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.- Returns:
this
-
resourceExclusions
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder resourceExclusions(CfnVPCPropsMixin.VpcEncryptionControlExclusionsProperty resourceExclusions) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getResourceExclusions()- Parameters:
resourceExclusions- Describes the exclusion configurations for various resource types in VPC Encryption Control. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.- Returns:
this
-
state
Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getState()- Parameters:
state- The current state of the VPC Encryption Control configuration.- Returns:
this
-
stateMessage
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder stateMessage(String stateMessage) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getStateMessage()- Parameters:
stateMessage- A message providing additional information about the encryption control state.- Returns:
this
-
virtualPrivateGatewayExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder virtualPrivateGatewayExclusion(String virtualPrivateGatewayExclusion) - Parameters:
virtualPrivateGatewayExclusion- the value to be set.- Returns:
this
-
vpcEncryptionControlId
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder vpcEncryptionControlId(String vpcEncryptionControlId) - Parameters:
vpcEncryptionControlId- The ID of the VPC Encryption Control configuration.- Returns:
this
-
vpcId
Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getVpcId()- Parameters:
vpcId- The ID of the VPC associated with the encryption control configuration.- Returns:
this
-
vpcLatticeExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder vpcLatticeExclusion(String vpcLatticeExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getVpcLatticeExclusion()- Parameters:
vpcLatticeExclusion- the value to be set.- Returns:
this
-
vpcPeeringExclusion
@Stability(Stable) public CfnVPCPropsMixin.VpcEncryptionControlProperty.Builder vpcPeeringExclusion(String vpcPeeringExclusion) Sets the value ofCfnVPCPropsMixin.VpcEncryptionControlProperty.getVpcPeeringExclusion()- Parameters:
vpcPeeringExclusion- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCPropsMixin.VpcEncryptionControlProperty>- Returns:
- a new instance of
CfnVPCPropsMixin.VpcEncryptionControlProperty - Throws:
NullPointerException- if any required attribute was not provided
-