code: public RebootCacheClusterRequest withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot) {
          if (this.cacheNodeIdsToReboot == null) {
              setCacheNodeIdsToReboot(new com.amazonaws.internal.SdkInternalList<String>(cacheNodeIdsToReboot.length));
          }
          for (String ele : cacheNodeIdsToReboot) {
              this.cacheNodeIdsToReboot.add(ele);
          }
          return this;
      }
docs: <p>
  A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire
  cluster, specify all of the cache node IDs.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCacheNodeIdsToReboot(java.util.Collection)} or {@link #withCacheNodeIdsToReboot(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param cacheNodeIdsToReboot
  A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an
  entire cluster, specify all of the cache node IDs.
  @return Returns a reference to this object so that method calls can be chained together.