Class ServerlessV2ScalingConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.ServerlessV2ScalingConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerlessV2ScalingConfiguration.Builder,ServerlessV2ScalingConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ServerlessV2ScalingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerlessV2ScalingConfiguration.Builder,ServerlessV2ScalingConfiguration>
Contains the scaling configuration of 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 interfaceServerlessV2ScalingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerlessV2ScalingConfiguration.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()Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.static Class<? extends ServerlessV2ScalingConfiguration.Builder>serializableBuilderClass()ServerlessV2ScalingConfiguration.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. You can check the attributes of your engine version or platform version to determine the specific maximum capacity supported.
- 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. You can check the attributes of your engine version or platform version to determine the specific maximum capacity supported.
-
secondsUntilAutoPause
public final Integer secondsUntilAutoPause()
Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.
Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.
- Returns:
- Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts
to automatically pause it.
Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.
-
toBuilder
public ServerlessV2ScalingConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerlessV2ScalingConfiguration.Builder,ServerlessV2ScalingConfiguration>
-
builder
public static ServerlessV2ScalingConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServerlessV2ScalingConfiguration.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
-
-