code: public final UserManagedCacheBuilder<K, V, T> withResourcePools(ResourcePoolsBuilder resourcePoolsBuilder) {
      return withResourcePools(resourcePoolsBuilder.build());
    }
docs: Convenience method to add a {@link ResourcePools} configuration based on the provided {@link ResourcePoolsBuilder}
  to the returned builder.
  
  @param resourcePoolsBuilder the builder to get the resource pools from
  @return a new builder with the configured resource pools
  
  @see #withResourcePools(ResourcePools)