public static final class CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder
extends java.lang.Object
CfnFHIRDatastore.KmsEncryptionConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFHIRDatastore.KmsEncryptionConfigProperty |
build()
Builds the configured instance.
|
CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder |
cmkType(java.lang.String cmkType)
Sets the value of
CfnFHIRDatastore.KmsEncryptionConfigProperty.getCmkType() |
CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder |
kmsKeyId(java.lang.String kmsKeyId)
Sets the value of
CfnFHIRDatastore.KmsEncryptionConfigProperty.getKmsKeyId() |
public CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder cmkType(java.lang.String cmkType)
CfnFHIRDatastore.KmsEncryptionConfigProperty.getCmkType()
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 .this
public CfnFHIRDatastore.KmsEncryptionConfigProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
CfnFHIRDatastore.KmsEncryptionConfigProperty.getKmsKeyId()
kmsKeyId
- The KMS encryption key id/alias used to encrypt the Data Store contents at rest.this
public CfnFHIRDatastore.KmsEncryptionConfigProperty build()
CfnFHIRDatastore.KmsEncryptionConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided