Class CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.healthlake.CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty>
- Enclosing interface:
CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty
@Stability(Stable)
public static final class CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty>
A builder for
CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.getCmkType()Sets the value ofCfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cmkType
@Stability(Stable) public CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.Builder cmkType(String cmkType) Sets the value ofCfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.getCmkType()- Parameters:
cmkType- The type of customer-managed-key(CMK) used for encryption. 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 CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty.getKmsKeyId()- Parameters:
kmsKeyId- The Key Management Service (KMS) encryption key id/alias used to encrypt the data store contents at rest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty>- Returns:
- a new instance of
CfnFHIRDatastorePropsMixin.KmsEncryptionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-