Interface ScalingConfigurationInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
,SdkBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
,SdkPojo
- Enclosing class:
- ScalingConfigurationInfo
public static interface ScalingConfigurationInfo.Builder extends SdkPojo, CopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalingConfigurationInfo.Builder
autoPause(Boolean autoPause)
Indicates whether automatic pause is allowed for the Aurora DB cluster inserverless
DB engine mode.ScalingConfigurationInfo.Builder
maxCapacity(Integer maxCapacity)
The maximum capacity for an Aurora DB cluster inserverless
DB engine mode.ScalingConfigurationInfo.Builder
minCapacity(Integer minCapacity)
The minimum capacity for an Aurora DB cluster inserverless
DB engine mode.ScalingConfigurationInfo.Builder
secondsBeforeTimeout(Integer secondsBeforeTimeout)
The number of seconds before scaling times out.ScalingConfigurationInfo.Builder
secondsUntilAutoPause(Integer secondsUntilAutoPause)
The remaining amount of time, in seconds, before the Aurora DB cluster inserverless
mode is paused.ScalingConfigurationInfo.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minCapacity
ScalingConfigurationInfo.Builder minCapacity(Integer 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
ScalingConfigurationInfo.Builder maxCapacity(Integer 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
ScalingConfigurationInfo.Builder autoPause(Boolean 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
ScalingConfigurationInfo.Builder secondsUntilAutoPause(Integer 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
ScalingConfigurationInfo.Builder timeoutAction(String 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
ScalingConfigurationInfo.Builder secondsBeforeTimeout(Integer 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.
-
-