Class CfnConnectorPropsMixin.CapacityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kafkaconnect.CfnConnectorPropsMixin.CapacityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorPropsMixin.CapacityProperty>
- Enclosing interface:
CfnConnectorPropsMixin.CapacityProperty
@Stability(Stable)
public static final class CfnConnectorPropsMixin.CapacityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorPropsMixin.CapacityProperty>
A builder for
CfnConnectorPropsMixin.CapacityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoScaling(CfnConnectorPropsMixin.AutoScalingProperty autoScaling) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getAutoScaling()autoScaling(IResolvable autoScaling) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getAutoScaling()build()Builds the configured instance.provisionedCapacity(CfnConnectorPropsMixin.ProvisionedCapacityProperty provisionedCapacity) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getProvisionedCapacity()provisionedCapacity(IResolvable provisionedCapacity) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getProvisionedCapacity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoScaling
@Stability(Stable) public CfnConnectorPropsMixin.CapacityProperty.Builder autoScaling(IResolvable autoScaling) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getAutoScaling()- Parameters:
autoScaling- Information about the auto scaling parameters for the connector.- Returns:
this
-
autoScaling
@Stability(Stable) public CfnConnectorPropsMixin.CapacityProperty.Builder autoScaling(CfnConnectorPropsMixin.AutoScalingProperty autoScaling) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getAutoScaling()- Parameters:
autoScaling- Information about the auto scaling parameters for the connector.- Returns:
this
-
provisionedCapacity
@Stability(Stable) public CfnConnectorPropsMixin.CapacityProperty.Builder provisionedCapacity(IResolvable provisionedCapacity) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getProvisionedCapacity()- Parameters:
provisionedCapacity- Details about a fixed capacity allocated to a connector.- Returns:
this
-
provisionedCapacity
@Stability(Stable) public CfnConnectorPropsMixin.CapacityProperty.Builder provisionedCapacity(CfnConnectorPropsMixin.ProvisionedCapacityProperty provisionedCapacity) Sets the value ofCfnConnectorPropsMixin.CapacityProperty.getProvisionedCapacity()- Parameters:
provisionedCapacity- Details about a fixed capacity allocated to a connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorPropsMixin.CapacityProperty>- Returns:
- a new instance of
CfnConnectorPropsMixin.CapacityProperty - Throws:
NullPointerException- if any required attribute was not provided
-