@Generated(value="software.amazon.awssdk:codegen") public final class ScalingConfigurationInfo extends Object implements SdkPojo, Serializable, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScalingConfigurationInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB
engine mode. |
static ScalingConfigurationInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxCapacity()
The maximum capacity for an Aurora DB cluster in
serverless DB engine mode. |
Integer |
minCapacity()
The minimum capacity for an Aurora DB cluster in
serverless DB engine mode. |
List<SdkField<?>> |
sdkFields() |
Integer |
secondsBeforeTimeout()
The number of seconds before scaling times out.
|
Integer |
secondsUntilAutoPause()
The remaining amount of time, in seconds, before the Aurora DB cluster in
serverless mode is paused. |
static Class<? extends ScalingConfigurationInfo.Builder> |
serializableBuilderClass() |
String |
timeoutAction()
The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1
cluster.
|
ScalingConfigurationInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer minCapacity()
The minimum capacity for an Aurora DB cluster in serverless DB engine mode.
serverless DB engine mode.public final Integer maxCapacity()
The maximum capacity for an Aurora DB cluster in serverless DB engine mode.
serverless DB engine mode.public final Boolean autoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB
engine mode.
When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.
serverless DB engine mode.
When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.
public final Integer secondsUntilAutoPause()
The remaining amount of time, in seconds, before the Aurora DB cluster in serverless mode is paused.
A DB cluster can be paused only when it's idle (it has no connections).
serverless mode is
paused. A DB cluster can be paused only when it's idle (it has no connections).public final String 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 ForceApplyCapacityChange or RollbackCapacityChange.
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.
ForceApplyCapacityChange or
RollbackCapacityChange.
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.
public final Integer secondsBeforeTimeout()
The number of seconds before scaling times out. What happens when an attempted scaling action times out is
determined by the TimeoutAction setting.
TimeoutAction setting.public ScalingConfigurationInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>public static ScalingConfigurationInfo.Builder builder()
public static Class<? extends ScalingConfigurationInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.