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, eitherForceApplyCapacityChangeorRollbackCapacityChange.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-