code: public UrlStringBuilder addPath(String element) {
          Validate.notNull(element, "element cannot be null");
          this.path.add(element);
          return this;
      }
docs: Adds a single element to the path.
  
  @param element The element to add
  @return this