docs: public CompatibleVersionsMap withTargetVersions(String... targetVersions) {
          if (this.targetVersions == null) {
              setTargetVersions(new java.util.ArrayList<String>(targetVersions.length));
          }
          for (String ele : targetVersions) {
              this.targetVersions.add(ele);
          }
          return this;
      }