Class CfnCluster.ProvisionedThroughputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.ProvisionedThroughputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ProvisionedThroughputProperty>
- Enclosing interface:
- CfnCluster.ProvisionedThroughputProperty
@Stability(Stable)
public static final class CfnCluster.ProvisionedThroughputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ProvisionedThroughputProperty>
A builder for
CfnCluster.ProvisionedThroughputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCluster.ProvisionedThroughputProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnCluster.ProvisionedThroughputProperty.getEnabled()volumeThroughput(Number volumeThroughput) Sets the value ofCfnCluster.ProvisionedThroughputProperty.getVolumeThroughput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnCluster.ProvisionedThroughputProperty.getEnabled()- Parameters:
enabled- Provisioned throughput is enabled or not.- Returns:
this
-
enabled
@Stability(Stable) public CfnCluster.ProvisionedThroughputProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnCluster.ProvisionedThroughputProperty.getEnabled()- Parameters:
enabled- Provisioned throughput is enabled or not.- Returns:
this
-
volumeThroughput
@Stability(Stable) public CfnCluster.ProvisionedThroughputProperty.Builder volumeThroughput(Number volumeThroughput) Sets the value ofCfnCluster.ProvisionedThroughputProperty.getVolumeThroughput()- Parameters:
volumeThroughput- Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.ProvisionedThroughputProperty>- Returns:
- a new instance of
CfnCluster.ProvisionedThroughputProperty - Throws:
NullPointerException- if any required attribute was not provided
-