Class CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty>
- Enclosing interface:
CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty
@Stability(Stable)
public static final class CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.getState()stateMessage(String stateMessage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
state
@Stability(Stable) public CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.Builder state(String state) Sets the value ofCfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.getState()- Parameters:
state- The current state of the exclusion configuration.- Returns:
this
-
stateMessage
@Stability(Stable) public CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty.Builder stateMessage(String stateMessage) - Parameters:
stateMessage- A message providing additional information about the exclusion state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty>- Returns:
- a new instance of
CfnVPCEncryptionControl.VpcEncryptionControlExclusionProperty - Throws:
NullPointerException- if any required attribute was not provided
-