public static final class CfnCluster.EncryptionAtRestProperty.Builder
extends java.lang.Object
CfnCluster.EncryptionAtRestProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.EncryptionAtRestProperty |
build()
Builds the configured instance.
|
CfnCluster.EncryptionAtRestProperty.Builder |
dataVolumeKmsKeyId(java.lang.String dataVolumeKmsKeyId)
Sets the value of
CfnCluster.EncryptionAtRestProperty.getDataVolumeKmsKeyId() |
public CfnCluster.EncryptionAtRestProperty.Builder dataVolumeKmsKeyId(java.lang.String dataVolumeKmsKeyId)
CfnCluster.EncryptionAtRestProperty.getDataVolumeKmsKeyId()
dataVolumeKmsKeyId
- The ARN of the Amazon KMS key for encrypting data at rest. This parameter is required.
If you don't specify a KMS key, MSK creates one for you and uses it on your behalf.this
public CfnCluster.EncryptionAtRestProperty build()
CfnCluster.EncryptionAtRestProperty
java.lang.NullPointerException
- if any required attribute was not provided