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 inserverlessDB engine mode.maxCapacity(Integer maxCapacity) The maximum capacity for an Aurora DB cluster inserverlessDB engine mode.minCapacity(Integer minCapacity) The minimum capacity for an Aurora DB cluster inserverlessDB 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 inserverlessmode 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
minCapacity
The minimum capacity for an Aurora DB cluster in
serverlessDB engine mode.- Parameters:
minCapacity- The minimum capacity for an Aurora DB cluster inserverlessDB 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
serverlessDB engine mode.- Parameters:
maxCapacity- The maximum capacity for an Aurora DB cluster inserverlessDB 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
serverlessDB 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 inserverlessDB 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
serverlessmode 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 inserverlessmode 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
ForceApplyCapacityChangeorRollbackCapacityChange.ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.RollbackCapacityChangeignores 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 eitherForceApplyCapacityChangeorRollbackCapacityChange.ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.RollbackCapacityChangeignores 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
TimeoutActionsetting.- Parameters:
secondsBeforeTimeout- The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by theTimeoutActionsetting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-