docs: @Deprecated
    public final UserManagedCacheBuilder<K, V, T> withExpiry(org.ehcache.expiry.Expiry<? super K, ? super V> expiry) {
      if (expiry == null) {
        throw new NullPointerException("Null expiry");
      }
      UserManagedCacheBuilder<K, V, T> otherBuilder = new UserManagedCacheBuilder<>(this);
      otherBuilder.expiry = ExpiryUtils.convertToExpiryPolicy(expiry);
      return otherBuilder;
    }