public CreateIndexRequest withCapacityConfiguration(IndexCapacityConfiguration capacityConfiguration) {
        setCapacityConfiguration(capacityConfiguration);
        return this;
    }
<p>
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
</p>

@param capacityConfiguration
       The capacity units you want to provision for your index. You can add and remove capacity to fit your usage
       needs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/CreateIndexRequest.java