docs: public static Integer parseHistoryTimeToLive(String historyTimeToLive) {
      Integer timeToLive = null;
  
      if (historyTimeToLive != null && !historyTimeToLive.isEmpty()) {
        Matcher matISO = REGEX_TTL_ISO.matcher(historyTimeToLive);
        if (matISO.find()) {
          historyTimeToLive = matISO.group(1);
        }
        timeToLive = parseIntegerAttribute("historyTimeToLive", historyTimeToLive);
      }
  
      if (timeToLive != null && timeToLive < 0) {
        throw new NotValidException("Cannot parse historyTimeToLive: negative value is not allowed");
      }
  
      return timeToLive;
    }