Interface ModifyCurrentDbClusterCapacityRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
,RdsRequest.Builder
,SdkBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyCurrentDbClusterCapacityRequest
public static interface ModifyCurrentDbClusterCapacityRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyCurrentDbClusterCapacityRequest.Builder
capacity(Integer capacity)
The DB cluster capacity.ModifyCurrentDbClusterCapacityRequest.Builder
dbClusterIdentifier(String dbClusterIdentifier)
The DB cluster identifier for the cluster being modified.ModifyCurrentDbClusterCapacityRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyCurrentDbClusterCapacityRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyCurrentDbClusterCapacityRequest.Builder
secondsBeforeTimeout(Integer secondsBeforeTimeout)
The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action.ModifyCurrentDbClusterCapacityRequest.Builder
timeoutAction(String timeoutAction)
The action to take when the timeout is reached, eitherForceApplyCapacityChange
orRollbackCapacityChange
.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
-
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
-
dbClusterIdentifier
ModifyCurrentDbClusterCapacityRequest.Builder dbClusterIdentifier(String dbClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing DB cluster.
- Parameters:
dbClusterIdentifier
- The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.Constraints:
-
Must match the identifier of an existing DB cluster.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
capacity
ModifyCurrentDbClusterCapacityRequest.Builder capacity(Integer capacity)
The DB cluster capacity.
When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes.
Constraints:
-
For Aurora MySQL, valid capacity values are
1
,2
,4
,8
,16
,32
,64
,128
, and256
. -
For Aurora PostgreSQL, valid capacity values are
2
,4
,8
,16
,32
,64
,192
, and384
.
- Parameters:
capacity
- The DB cluster capacity.When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes.
Constraints:
-
For Aurora MySQL, valid capacity values are
1
,2
,4
,8
,16
,32
,64
,128
, and256
. -
For Aurora PostgreSQL, valid capacity values are
2
,4
,8
,16
,32
,64
,192
, and384
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
secondsBeforeTimeout
ModifyCurrentDbClusterCapacityRequest.Builder secondsBeforeTimeout(Integer secondsBeforeTimeout)
The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
Specify a value between 10 and 600 seconds.
- Parameters:
secondsBeforeTimeout
- The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.Specify a value between 10 and 600 seconds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutAction
ModifyCurrentDbClusterCapacityRequest.Builder timeoutAction(String timeoutAction)
The action to take when the timeout is reached, 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 to take when the timeout is reached, 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.
-
overrideConfiguration
ModifyCurrentDbClusterCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyCurrentDbClusterCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-