@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerlessV2ScalingConfiguration extends Object implements Serializable, Cloneable
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
Constructor and Description |
---|
ServerlessV2ScalingConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServerlessV2ScalingConfiguration |
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.
|
ServerlessV2ScalingConfiguration |
withMaxCapacity(Double maxCapacity)
The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
ServerlessV2ScalingConfiguration |
withMinCapacity(Double minCapacity)
The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster.
|
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 ServerlessV2ScalingConfiguration 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 ServerlessV2ScalingConfiguration 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 ServerlessV2ScalingConfiguration clone()