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