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.Buildercapacity(Integer capacity)The DB cluster capacity.ModifyCurrentDbClusterCapacityRequest.BuilderdbClusterIdentifier(String dbClusterIdentifier)The DB cluster identifier for the cluster being modified.ModifyCurrentDbClusterCapacityRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyCurrentDbClusterCapacityRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyCurrentDbClusterCapacityRequest.BuildersecondsBeforeTimeout(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.BuildertimeoutAction(String timeoutAction)The action to take when the timeout is reached, eitherForceApplyCapacityChangeorRollbackCapacityChange.-
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 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
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 to take when the timeout is reached, 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.
-
overrideConfiguration
ModifyCurrentDbClusterCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyCurrentDbClusterCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-