Class ScalingConfigurationInfo
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.ScalingConfigurationInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
@Generated("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
serverlessDB engine mode.For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScalingConfigurationInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoPause()Indicates whether automatic pause is allowed for the Aurora DB cluster inserverlessDB engine mode.static ScalingConfigurationInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxCapacity()The maximum capacity for an Aurora DB cluster inserverlessDB engine mode.IntegerminCapacity()The minimum capacity for an Aurora DB cluster inserverlessDB engine mode.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()IntegersecondsBeforeTimeout()The number of seconds before scaling times out.IntegersecondsUntilAutoPause()The remaining amount of time, in seconds, before the Aurora DB cluster inserverlessmode is paused.static Class<? extends ScalingConfigurationInfo.Builder>serializableBuilderClass()StringtimeoutAction()The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster.ScalingConfigurationInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
minCapacity
public final Integer 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
public final Integer 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
public final Boolean 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
public final Integer 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
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
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
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
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
public ScalingConfigurationInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScalingConfigurationInfo.Builder,ScalingConfigurationInfo>
-
builder
public static ScalingConfigurationInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScalingConfigurationInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-