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