public Snapshot withNumCacheNodes(Integer numCacheNodes) {
        setNumCacheNodes(numCacheNodes);
        return this;
    }
<p>
The number of cache nodes in the source cluster.
</p>
<p>
For clusters running Redis OSS, this value must be 1. For clusters running Memcached, this value must be between
1 and 40.
</p>

@param numCacheNodes
       The number of cache nodes in the source cluster.</p>
       <p>
       For clusters running Redis OSS, this value must be 1. For clusters running Memcached, this value must be
       between 1 and 40.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/Snapshot.java