Class CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.healthlake.CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFHIRDatastore.KmsEncryptionConfigProperty>
- Enclosing interface:
CfnFHIRDatastore.KmsEncryptionConfigProperty
@Stability(Stable)
public static final class CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFHIRDatastore.KmsEncryptionConfigProperty>
A builder for
CfnFHIRDatastore.KmsEncryptionConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFHIRDatastore.KmsEncryptionConfigProperty.getCmkType()
Sets the value ofCfnFHIRDatastore.KmsEncryptionConfigProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cmkType
@Stability(Stable) public CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder cmkType(String cmkType) Sets the value ofCfnFHIRDatastore.KmsEncryptionConfigProperty.getCmkType()
- Parameters:
cmkType
- The type of customer-managed-key(CMK) used for encryption. This parameter is required. The two types of supported CMKs are customer owned CMKs and Amazon owned CMKs. For more information on CMK types, see KmsEncryptionConfig .- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnFHIRDatastore.KmsEncryptionConfigProperty.getKmsKeyId()
- Parameters:
kmsKeyId
- The KMS encryption key id/alias used to encrypt the data store contents at rest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFHIRDatastore.KmsEncryptionConfigProperty>
- Returns:
- a new instance of
CfnFHIRDatastore.KmsEncryptionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-