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
-
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
- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnCluster.ProvisionedThroughputProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnCluster.ProvisionedThroughputProperty.getEnabled()
- Parameters:
enabled
- the value to be set.- Returns:
this
-
volumeThroughput
@Stability(Stable) public CfnCluster.ProvisionedThroughputProperty.Builder volumeThroughput(Number volumeThroughput) Sets the value ofCfnCluster.ProvisionedThroughputProperty.getVolumeThroughput()
- Parameters:
volumeThroughput
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.ProvisionedThroughputProperty>
- Returns:
- a new instance of
CfnCluster.ProvisionedThroughputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-