code: public void setCacheSubnetGroups(java.util.Collection<CacheSubnetGroup> cacheSubnetGroups) {
          if (cacheSubnetGroups == null) {
              this.cacheSubnetGroups = null;
              return;
          }
  
          this.cacheSubnetGroups = new com.amazonaws.internal.SdkInternalList<CacheSubnetGroup>(cacheSubnetGroups);
      }
docs: <p>
  A list of cache subnet groups. Each element in the list contains detailed information about one group.
  </p>
  
  @param cacheSubnetGroups
  A list of cache subnet groups. Each element in the list contains detailed information about one group.