@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerlessV2ScalingConfigurationInfo extends Object implements Serializable, Cloneable
Shows the scaling configuration for a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
Constructor and Description |
---|
ServerlessV2ScalingConfigurationInfo() |
Modifier and Type | Method and Description |
---|---|
ServerlessV2ScalingConfigurationInfo |
clone() |
boolean |
equals(Object obj) |
Double |
getMaxCapacity()
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
Double |
getMinCapacity()
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
int |
hashCode() |
void |
setMaxCapacity(Double maxCapacity)
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
void |
setMinCapacity(Double minCapacity)
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
String |
toString()
Returns a string representation of this object.
|
ServerlessV2ScalingConfigurationInfo |
withMaxCapacity(Double maxCapacity)
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
ServerlessV2ScalingConfigurationInfo |
withMinCapacity(Double minCapacity)
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
public ServerlessV2ScalingConfigurationInfo()
public void setMinCapacity(Double minCapacity)
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.
minCapacity
- The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You
can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.public Double getMinCapacity()
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.
public ServerlessV2ScalingConfigurationInfo withMinCapacity(Double minCapacity)
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.
minCapacity
- The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You
can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.public void setMaxCapacity(Double maxCapacity)
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.
maxCapacity
- The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You
can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.public Double getMaxCapacity()
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.
public ServerlessV2ScalingConfigurationInfo withMaxCapacity(Double maxCapacity)
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.
maxCapacity
- The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You
can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.public String toString()
toString
in class Object
Object.toString()
public ServerlessV2ScalingConfigurationInfo clone()