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