Class CfnCluster.EBSStorageInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.EBSStorageInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.EBSStorageInfoProperty>
- Enclosing interface:
- CfnCluster.EBSStorageInfoProperty
@Stability(Stable)
public static final class CfnCluster.EBSStorageInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EBSStorageInfoProperty>
A builder for
CfnCluster.EBSStorageInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.provisionedThroughput(IResolvable provisionedThroughput) Sets the value ofCfnCluster.EBSStorageInfoProperty.getProvisionedThroughput()provisionedThroughput(CfnCluster.ProvisionedThroughputProperty provisionedThroughput) Sets the value ofCfnCluster.EBSStorageInfoProperty.getProvisionedThroughput()volumeSize(Number volumeSize) Sets the value ofCfnCluster.EBSStorageInfoProperty.getVolumeSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
provisionedThroughput
@Stability(Stable) public CfnCluster.EBSStorageInfoProperty.Builder provisionedThroughput(IResolvable provisionedThroughput) Sets the value ofCfnCluster.EBSStorageInfoProperty.getProvisionedThroughput()- Parameters:
provisionedThroughput- EBS volume provisioned throughput information.- Returns:
this
-
provisionedThroughput
@Stability(Stable) public CfnCluster.EBSStorageInfoProperty.Builder provisionedThroughput(CfnCluster.ProvisionedThroughputProperty provisionedThroughput) Sets the value ofCfnCluster.EBSStorageInfoProperty.getProvisionedThroughput()- Parameters:
provisionedThroughput- EBS volume provisioned throughput information.- Returns:
this
-
volumeSize
Sets the value ofCfnCluster.EBSStorageInfoProperty.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.EBSStorageInfoProperty>- Returns:
- a new instance of
CfnCluster.EBSStorageInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-