Class ServerlessV2ScalingConfigurationInfo
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.ServerlessV2ScalingConfigurationInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerlessV2ScalingConfigurationInfo.Builder,ServerlessV2ScalingConfigurationInfo>
@Generated("software.amazon.awssdk:codegen") public final class ServerlessV2ScalingConfigurationInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerlessV2ScalingConfigurationInfo.Builder,ServerlessV2ScalingConfigurationInfo>
The scaling configuration for an Aurora Serverless v2 DB cluster.
For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerlessV2ScalingConfigurationInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerlessV2ScalingConfigurationInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemaxCapacity()The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.DoubleminCapacity()The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()IntegersecondsUntilAutoPause()The number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.static Class<? extends ServerlessV2ScalingConfigurationInfo.Builder>serializableBuilderClass()ServerlessV2ScalingConfigurationInfo.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 Double minCapacity()
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
- Returns:
- The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
-
maxCapacity
public final Double maxCapacity()
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.
- Returns:
- The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.
-
secondsUntilAutoPause
public final Integer secondsUntilAutoPause()
The number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it. This property is only shown when the minimum capacity for the cluster is set to 0 ACUs. Changing the minimum capacity to a nonzero value removes this property. If you later change the minimum capacity back to 0 ACUs, this property is reset to its default value unless you specify it again.
This value ranges between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.
- Returns:
- The number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to
automatically pause it. This property is only shown when the minimum capacity for the cluster is set to 0
ACUs. Changing the minimum capacity to a nonzero value removes this property. If you later change the
minimum capacity back to 0 ACUs, this property is reset to its default value unless you specify it again.
This value ranges between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.
-
toBuilder
public ServerlessV2ScalingConfigurationInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerlessV2ScalingConfigurationInfo.Builder,ServerlessV2ScalingConfigurationInfo>
-
builder
public static ServerlessV2ScalingConfigurationInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServerlessV2ScalingConfigurationInfo.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
-
-