docs: public void setContentType(String contentType) throws InvalidArgumentException {
      if (Strings.isNullOrEmpty(contentType)) {
        throw new InvalidArgumentException("empty content type");
      }
  
      this.contentType = contentType;
    }