docs: public ResourcePath withComponents(ResourcePathComponent... components) {
          if (this.components == null) {
              setComponents(new java.util.ArrayList<ResourcePathComponent>(components.length));
          }
          for (ResourcePathComponent ele : components) {
              this.components.add(ele);
          }
          return this;
      }