Class CfnCluster.EncryptionAtRestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.EncryptionAtRestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.EncryptionAtRestProperty>
- Enclosing interface:
CfnCluster.EncryptionAtRestProperty
@Stability(Stable)
public static final class CfnCluster.EncryptionAtRestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EncryptionAtRestProperty>
A builder for
CfnCluster.EncryptionAtRestProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataVolumeKmsKeyId
(String dataVolumeKmsKeyId) Sets the value ofCfnCluster.EncryptionAtRestProperty.getDataVolumeKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataVolumeKmsKeyId
@Stability(Stable) public CfnCluster.EncryptionAtRestProperty.Builder dataVolumeKmsKeyId(String dataVolumeKmsKeyId) Sets the value ofCfnCluster.EncryptionAtRestProperty.getDataVolumeKmsKeyId()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.EncryptionAtRestProperty>
- Returns:
- a new instance of
CfnCluster.EncryptionAtRestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-