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