Class CfnDataAutomationLibrary.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataAutomationLibrary.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAutomationLibrary.EncryptionConfigurationProperty>
- Enclosing interface:
CfnDataAutomationLibrary.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnDataAutomationLibrary.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAutomationLibrary.EncryptionConfigurationProperty>
A builder for
CfnDataAutomationLibrary.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kmsEncryptionContext(Map<String, String> kmsEncryptionContext) kmsEncryptionContext(IResolvable kmsEncryptionContext) Sets the value ofCfnDataAutomationLibrary.EncryptionConfigurationProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnDataAutomationLibrary.EncryptionConfigurationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnDataAutomationLibrary.EncryptionConfigurationProperty.getKmsKeyId()- Parameters:
kmsKeyId- KMS Key Identifier. This parameter is required.- Returns:
this
-
kmsEncryptionContext
@Stability(Stable) public CfnDataAutomationLibrary.EncryptionConfigurationProperty.Builder kmsEncryptionContext(Map<String, String> kmsEncryptionContext) Sets the value ofCfnDataAutomationLibrary.EncryptionConfigurationProperty.getKmsEncryptionContext()- Parameters:
kmsEncryptionContext- KMS Encryption Context.- Returns:
this
-
kmsEncryptionContext
@Stability(Stable) public CfnDataAutomationLibrary.EncryptionConfigurationProperty.Builder kmsEncryptionContext(IResolvable kmsEncryptionContext) Sets the value ofCfnDataAutomationLibrary.EncryptionConfigurationProperty.getKmsEncryptionContext()- Parameters:
kmsEncryptionContext- KMS Encryption Context.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataAutomationLibrary.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnDataAutomationLibrary.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-