Class EbsStorageInfo.Builder
java.lang.Object
software.amazon.awscdk.services.msk.alpha.EbsStorageInfo.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EbsStorageInfo>
- Enclosing interface:
EbsStorageInfo
@Stability(Experimental)
public static final class EbsStorageInfo.Builder
extends Object
implements software.amazon.jsii.Builder<EbsStorageInfo>
A builder for
EbsStorageInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryptionKey
(IKey encryptionKey) Sets the value ofEbsStorageInfo.getEncryptionKey()
volumeSize
(Number volumeSize) Sets the value ofEbsStorageInfo.getVolumeSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionKey
Sets the value ofEbsStorageInfo.getEncryptionKey()
- Parameters:
encryptionKey
- The AWS KMS key for encrypting data at rest.- Returns:
this
-
volumeSize
Sets the value ofEbsStorageInfo.getVolumeSize()
- Parameters:
volumeSize
- The size in GiB of the EBS volume for the data drive on each broker node.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EbsStorageInfo>
- Returns:
- a new instance of
EbsStorageInfo
- Throws:
NullPointerException
- if any required attribute was not provided
-