code: public final UserManagedCacheBuilder<K, V, T> withResourcePools(ResourcePools resourcePools) {
      UserManagedCacheBuilder<K, V, T> otherBuilder = new UserManagedCacheBuilder<>(this);
      otherBuilder.resourcePools = resourcePools;
      return otherBuilder;
    }
docs: Adds a {@link ResourcePools} configuration to the returned builder.
  
  @param resourcePools the resource pools to use
  @return a new builder with the configured resource pools
  
  @see #withResourcePools(ResourcePoolsBuilder)