docs: public AttrReq addAttrReq(String name) throws InvalidArgumentException {
          if (name == null || name.isEmpty()) {
              throw new InvalidArgumentException("name may not be null or empty.");
  
          }
          return new AttrReq(name);
      }