public CapacityConfiguration withNodeCount(Integer nodeCount) {
        setNodeCount(nodeCount);
        return this;
    }
<p>
The number of instances running in a cluster.
</p>

@param nodeCount
       The number of instances running in a cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/CapacityConfiguration.java