Interface ModifyCurrentDbClusterCapacityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,
,ModifyCurrentDbClusterCapacityRequest> RdsRequest.Builder
,SdkBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,
,ModifyCurrentDbClusterCapacityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyCurrentDbClusterCapacityRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe DB cluster capacity.dbClusterIdentifier
(String dbClusterIdentifier) The DB cluster identifier for the cluster being modified.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.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, sdkFields
-
Method Details
-
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
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyCurrentDbClusterCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-