docs: public ResourcePoolsBuilder withReplacing(ResourcePool resourcePool) {
      Map<ResourceType<?>, ResourcePool> newPools = new HashMap<>(resourcePools);
      newPools.put(resourcePool.getType(), resourcePool);
      return new ResourcePoolsBuilder(newPools);
    }