@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerlessV2ScalingConfigurationInfo extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
ServerlessV2ScalingConfigurationInfo() |
Modifier and Type | Method and Description |
---|---|
ServerlessV2ScalingConfigurationInfo |
clone() |
boolean |
equals(Object obj) |
Double |
getMaxCapacity()
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
Double |
getMinCapacity()
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
int |
hashCode() |
void |
setMaxCapacity(Double maxCapacity)
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
void |
setMinCapacity(Double minCapacity)
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
String |
toString()
Returns a string representation of this object.
|
ServerlessV2ScalingConfigurationInfo |
withMaxCapacity(Double maxCapacity)
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
ServerlessV2ScalingConfigurationInfo |
withMinCapacity(Double minCapacity)
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
public ServerlessV2ScalingConfigurationInfo()
public void setMinCapacity(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. The smallest value that you can use is 0.5.
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. The smallest value that
you can use is 0.5.public Double getMinCapacity()
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. The smallest value that you can use is 0.5.
public ServerlessV2ScalingConfigurationInfo withMinCapacity(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. The smallest value that you can use is 0.5.
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. The smallest value that
you can use is 0.5.public void setMaxCapacity(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 40, 40.5, 41, and so on. The largest value that you can use is 128.
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 40, 40.5, 41, and so on. The largest value
that you can use is 128.public Double getMaxCapacity()
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 40, 40.5, 41, and so on. The largest value that you can use is 128.
public ServerlessV2ScalingConfigurationInfo withMaxCapacity(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 40, 40.5, 41, and so on. The largest value that you can use is 128.
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 40, 40.5, 41, and so on. The largest value
that you can use is 128.public String toString()
toString
in class Object
Object.toString()
public ServerlessV2ScalingConfigurationInfo clone()