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