Interface ScalingConfigurationInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScalingConfigurationInfo.Builder,
,ScalingConfigurationInfo> SdkBuilder<ScalingConfigurationInfo.Builder,
,ScalingConfigurationInfo> SdkPojo
- Enclosing class:
ScalingConfigurationInfo
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether automatic pause is allowed for the Aurora DB cluster inserverless
DB engine mode.maxCapacity
(Integer maxCapacity) The maximum capacity for an Aurora DB cluster inserverless
DB engine mode.minCapacity
(Integer minCapacity) The minimum capacity for an Aurora DB cluster inserverless
DB engine mode.secondsBeforeTimeout
(Integer secondsBeforeTimeout) The number of seconds before scaling times out.secondsUntilAutoPause
(Integer secondsUntilAutoPause) The remaining amount of time, in seconds, before the Aurora DB cluster inserverless
mode is paused.timeoutAction
(String timeoutAction) The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster.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, sdkFields
-
Method Details
-
minCapacity
The minimum capacity for an Aurora DB cluster in
serverless
DB engine mode.- Parameters:
minCapacity
- The minimum capacity for an Aurora DB cluster inserverless
DB engine mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCapacity
The maximum capacity for an Aurora DB cluster in
serverless
DB engine mode.- Parameters:
maxCapacity
- The maximum capacity for an Aurora DB cluster inserverless
DB engine mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoPause
Indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless
DB engine mode.When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.
- Parameters:
autoPause
- Indicates whether automatic pause is allowed for the Aurora DB cluster inserverless
DB engine mode.When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondsUntilAutoPause
The remaining amount of time, in seconds, before the Aurora DB cluster in
serverless
mode is paused. A DB cluster can be paused only when it's idle (it has no connections).- Parameters:
secondsUntilAutoPause
- The remaining amount of time, in seconds, before the Aurora DB cluster inserverless
mode is paused. A DB cluster can be paused only when it's idle (it has no connections).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutAction
The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is either
ForceApplyCapacityChange
orRollbackCapacityChange
.ForceApplyCapacityChange
, the default, sets the capacity to the specified value as soon as possible.RollbackCapacityChange
ignores the capacity change if a scaling point isn't found in the timeout period.- Parameters:
timeoutAction
- The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is eitherForceApplyCapacityChange
orRollbackCapacityChange
.ForceApplyCapacityChange
, the default, sets the capacity to the specified value as soon as possible.RollbackCapacityChange
ignores the capacity change if a scaling point isn't found in the timeout period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondsBeforeTimeout
The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the
TimeoutAction
setting.- Parameters:
secondsBeforeTimeout
- The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by theTimeoutAction
setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-