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