Interface ServerlessV2ScalingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerlessV2ScalingConfiguration.Builder,
,ServerlessV2ScalingConfiguration> SdkBuilder<ServerlessV2ScalingConfiguration.Builder,
,ServerlessV2ScalingConfiguration> SdkPojo
- Enclosing class:
ServerlessV2ScalingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionmaxCapacity
(Double maxCapacity) The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.minCapacity
(Double minCapacity) The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.secondsUntilAutoPause
(Integer secondsUntilAutoPause) Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
minCapacity
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
- Parameters:
minCapacity
- The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCapacity
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.
- Parameters:
maxCapacity
- The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondsUntilAutoPause
Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.
Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.
- Parameters:
secondsUntilAutoPause
- Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-