Class CfnConnector.ScaleOutPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnConnector.ScaleOutPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.ScaleOutPolicyProperty>
- Enclosing interface:
CfnConnector.ScaleOutPolicyProperty
@Stability(Stable)
public static final class CfnConnector.ScaleOutPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.ScaleOutPolicyProperty>
A builder for
CfnConnector.ScaleOutPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cpuUtilizationPercentage
(Number cpuUtilizationPercentage) Sets the value ofCfnConnector.ScaleOutPolicyProperty.getCpuUtilizationPercentage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpuUtilizationPercentage
@Stability(Stable) public CfnConnector.ScaleOutPolicyProperty.Builder cpuUtilizationPercentage(Number cpuUtilizationPercentage) Sets the value ofCfnConnector.ScaleOutPolicyProperty.getCpuUtilizationPercentage()
- Parameters:
cpuUtilizationPercentage
- The CPU utilization percentage threshold at which you want connector scale out to be triggered. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnector.ScaleOutPolicyProperty>
- Returns:
- a new instance of
CfnConnector.ScaleOutPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-