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