code: public final UserManagedCacheBuilder<K, V, T> withExpiry(ExpiryPolicy<? super K, ? super V> expiry) {
      if (expiry == null) {
        throw new NullPointerException("Null expiry");
      }
      UserManagedCacheBuilder<K, V, T> otherBuilder = new UserManagedCacheBuilder<>(this);
      otherBuilder.expiry = expiry;
      return otherBuilder;
    }
docs: Adds {@link ExpiryPolicy} configuration to the returned builder.
  
  @param expiry the expiry to use
  @return a new builer with the added expiry