Class ModifyCurrentDbClusterCapacityRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Integercapacity()The DB cluster capacity.final StringThe DB cluster identifier for the cluster being modified.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action.static Class<? extends ModifyCurrentDbClusterCapacityRequest.Builder>final StringThe action to take when the timeout is reached, eitherForceApplyCapacityChangeorRollbackCapacityChange.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
-
-
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:
- 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.
-
-
-
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:
- 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.
-
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.- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest> - Specified by:
toBuilderin classRdsRequest
-
builder
-
serializableBuilderClass
public static Class<? extends ModifyCurrentDbClusterCapacityRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-