Class CfnPolicyStore.EncryptionStateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.verifiedpermissions.CfnPolicyStore.EncryptionStateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyStore.EncryptionStateProperty>
- Enclosing interface:
CfnPolicyStore.EncryptionStateProperty
@Stability(Stable)
public static final class CfnPolicyStore.EncryptionStateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyStore.EncryptionStateProperty>
A builder for
CfnPolicyStore.EncryptionStateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultValue(Object defaultValue) Sets the value ofCfnPolicyStore.EncryptionStateProperty.getDefaultValue()kmsEncryptionState(IResolvable kmsEncryptionState) Sets the value ofCfnPolicyStore.EncryptionStateProperty.getKmsEncryptionState()kmsEncryptionState(CfnPolicyStore.KmsEncryptionStateProperty kmsEncryptionState) Sets the value ofCfnPolicyStore.EncryptionStateProperty.getKmsEncryptionState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
@Stability(Stable) public CfnPolicyStore.EncryptionStateProperty.Builder defaultValue(Object defaultValue) Sets the value ofCfnPolicyStore.EncryptionStateProperty.getDefaultValue()- Parameters:
defaultValue- the value to be set. This parameter is required.- Returns:
this
-
kmsEncryptionState
@Stability(Stable) public CfnPolicyStore.EncryptionStateProperty.Builder kmsEncryptionState(IResolvable kmsEncryptionState) Sets the value ofCfnPolicyStore.EncryptionStateProperty.getKmsEncryptionState()- Parameters:
kmsEncryptionState- the value to be set. This parameter is required.- Returns:
this
-
kmsEncryptionState
@Stability(Stable) public CfnPolicyStore.EncryptionStateProperty.Builder kmsEncryptionState(CfnPolicyStore.KmsEncryptionStateProperty kmsEncryptionState) Sets the value ofCfnPolicyStore.EncryptionStateProperty.getKmsEncryptionState()- Parameters:
kmsEncryptionState- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyStore.EncryptionStateProperty>- Returns:
- a new instance of
CfnPolicyStore.EncryptionStateProperty - Throws:
NullPointerException- if any required attribute was not provided
-