Class CfnClusterPropsMixin.EncryptionAtRestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnClusterPropsMixin.EncryptionAtRestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.EncryptionAtRestProperty>
- Enclosing interface:
CfnClusterPropsMixin.EncryptionAtRestProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.EncryptionAtRestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.EncryptionAtRestProperty>
A builder for
CfnClusterPropsMixin.EncryptionAtRestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataVolumeKmsKeyId(String dataVolumeKmsKeyId) Sets the value ofCfnClusterPropsMixin.EncryptionAtRestProperty.getDataVolumeKmsKeyId()dataVolumeKmsKeyId(IKeyRef dataVolumeKmsKeyId) Sets the value ofCfnClusterPropsMixin.EncryptionAtRestProperty.getDataVolumeKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataVolumeKmsKeyId
@Stability(Stable) public CfnClusterPropsMixin.EncryptionAtRestProperty.Builder dataVolumeKmsKeyId(String dataVolumeKmsKeyId) Sets the value ofCfnClusterPropsMixin.EncryptionAtRestProperty.getDataVolumeKmsKeyId()- Parameters:
dataVolumeKmsKeyId- The ARN of the Amazon KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.- Returns:
this
-
dataVolumeKmsKeyId
@Stability(Stable) public CfnClusterPropsMixin.EncryptionAtRestProperty.Builder dataVolumeKmsKeyId(IKeyRef dataVolumeKmsKeyId) Sets the value ofCfnClusterPropsMixin.EncryptionAtRestProperty.getDataVolumeKmsKeyId()- Parameters:
dataVolumeKmsKeyId- The ARN of the Amazon KMS key for encrypting data at rest. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.EncryptionAtRestProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.EncryptionAtRestProperty - Throws:
NullPointerException- if any required attribute was not provided
-