Class CfnIndex.ServerSideEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnIndex.ServerSideEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndex.ServerSideEncryptionConfigurationProperty>
- Enclosing interface:
CfnIndex.ServerSideEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnIndex.ServerSideEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.ServerSideEncryptionConfigurationProperty>
A builder for
CfnIndex.ServerSideEncryptionConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIndex.ServerSideEncryptionConfigurationProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnIndex.ServerSideEncryptionConfigurationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnIndex.ServerSideEncryptionConfigurationProperty.getKmsKeyId()
- Parameters:
kmsKeyId
- The identifier of the AWS KMS key . Amazon Kendra doesn't support asymmetric keys.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIndex.ServerSideEncryptionConfigurationProperty>
- Returns:
- a new instance of
CfnIndex.ServerSideEncryptionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-