Class CfnDataSource.ServerSideEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.ServerSideEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ServerSideEncryptionConfigurationProperty>
- Enclosing interface:
CfnDataSource.ServerSideEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.ServerSideEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ServerSideEncryptionConfigurationProperty>
A builder for
CfnDataSource.ServerSideEncryptionConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataSource.ServerSideEncryptionConfigurationProperty.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnDataSource.ServerSideEncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnDataSource.ServerSideEncryptionConfigurationProperty.getKmsKeyArn()
- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.ServerSideEncryptionConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.ServerSideEncryptionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-