docs: @Deprecated
    public static Expiry<Object, Object> timeToIdleExpiration(Duration timeToIdle) {
      if (timeToIdle == null) {
        throw new NullPointerException("Duration cannot be null");
      }
      return new TimeToIdleExpiry(timeToIdle);
    }