public Cluster withShardCapacity(Integer shardCapacity) {
        setShardCapacity(shardCapacity);
        return this;
    }
<p>
The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32,
64.
</p>

@param shardCapacity
       The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16,
       32, 64.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdbelastic/src/main/java/com/amazonaws/services/docdbelastic/model/Cluster.java