Class ScalingConfigurationInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
The scaling configuration for an Aurora DB cluster in serverless DB engine mode.
For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIndicates whether automatic pause is allowed for the Aurora DB cluster inserverlessDB engine mode.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe maximum capacity for an Aurora DB cluster inserverlessDB engine mode.final IntegerThe minimum capacity for an Aurora DB cluster inserverlessDB engine mode.final IntegerThe number of seconds before scaling times out.final IntegerThe remaining amount of time, in seconds, before the Aurora DB cluster inserverlessmode is paused.static Class<? extends ScalingConfigurationInfo.Builder>final StringThe action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster.final StringtoString()Returns a string representation of this object.Methods 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
-
minCapacity
The minimum capacity for an Aurora DB cluster in
serverlessDB engine mode.- Returns:
- The minimum capacity for an Aurora DB cluster in
serverlessDB engine mode.
-
maxCapacity
The maximum capacity for an Aurora DB cluster in
serverlessDB engine mode.- Returns:
- The maximum capacity for an Aurora DB cluster in
serverlessDB engine mode.
-
autoPause
Indicates whether automatic pause is allowed for the Aurora DB cluster in
serverlessDB engine mode.When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.
- Returns:
- Indicates whether automatic pause is allowed for the Aurora DB cluster in
serverlessDB engine mode.When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.
-
secondsUntilAutoPause
The remaining amount of time, in seconds, before the Aurora DB cluster in
serverlessmode is paused. A DB cluster can be paused only when it's idle (it has no connections).- Returns:
- The remaining amount of time, in seconds, before the Aurora DB cluster in
serverlessmode is paused. A DB cluster can be paused only when it's idle (it has no connections).
-
timeoutAction
The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is 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 that occurs when Aurora times out while attempting to change the capacity of an Aurora
Serverless v1 cluster. The value is 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.
-
secondsBeforeTimeout
The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the
TimeoutActionsetting.- Returns:
- The number of seconds before scaling times out. What happens when an attempted scaling action times out
is determined by the
TimeoutActionsetting.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-