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