code: public UserManagedCacheBuilder<K, V, T> withSizeOfMaxObjectSize(long size, MemoryUnit unit) {
      UserManagedCacheBuilder<K, V, T> otherBuilder = new UserManagedCacheBuilder<>(this);
      removeAnySizeOfEngine(otherBuilder);
      otherBuilder.maxObjectSize = size;
      otherBuilder.sizeOfUnit = unit;
      otherBuilder.serviceCreationConfigurations.add(new DefaultSizeOfEngineProviderConfiguration(otherBuilder.maxObjectSize, otherBuilder.sizeOfUnit, otherBuilder.objectGraphSize));
      return otherBuilder;
    }
docs: Adds or updates the {@link DefaultSizeOfEngineProviderConfiguration} with the specified maximum mapping size to the configured
  builder.
  <p>
  {@link SizeOfEngine} is what enables the heap tier to be sized in {@link MemoryUnit}.
  
  @param size the maximum mapping size
  @param unit the memory unit
  @return a new builder with the added / updated configuration