code: public CacheCluster withCacheNodes(CacheNode... cacheNodes) {
          if (this.cacheNodes == null) {
              setCacheNodes(new com.amazonaws.internal.SdkInternalList<CacheNode>(cacheNodes.length));
          }
          for (CacheNode ele : cacheNodes) {
              this.cacheNodes.add(ele);
          }
          return this;
      }
docs: <p>
  A list of cache nodes that are members of the cluster.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCacheNodes(java.util.Collection)} or {@link #withCacheNodes(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param cacheNodes
  A list of cache nodes that are members of the cluster.
  @return Returns a reference to this object so that method calls can be chained together.