Class CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.neptune.CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty>
- Enclosing interface:
CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty
@Stability(Stable)
public static final class CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxCapacity(Number maxCapacity) minCapacity(Number minCapacity)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxCapacity
@Stability(Stable) public CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty.Builder maxCapacity(Number maxCapacity) - Parameters:
maxCapacity- The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.- Returns:
this
-
minCapacity
@Stability(Stable) public CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty.Builder minCapacity(Number minCapacity) - Parameters:
minCapacity- The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty>- Returns:
- a new instance of
CfnDBClusterPropsMixin.ServerlessScalingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-