public ServerlessV2ScalingConfiguration withMaxCapacity(Double maxCapacity) {
        setMaxCapacity(maxCapacity);
        return this;
    }
<p>
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.
</p>

@param 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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/ServerlessV2ScalingConfiguration.java