docs: public Version withRequiredCapabilities(Capability... requiredCapabilities) {
          java.util.ArrayList<String> requiredCapabilitiesCopy = new java.util.ArrayList<String>(requiredCapabilities.length);
          for (Capability value : requiredCapabilities) {
              requiredCapabilitiesCopy.add(value.toString());
          }
          if (getRequiredCapabilities() == null) {
              setRequiredCapabilities(requiredCapabilitiesCopy);
          } else {
              getRequiredCapabilities().addAll(requiredCapabilitiesCopy);
          }
          return this;
      }