code: 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;
      }
docs: <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTargetVersions(java.util.Collection)} or {@link #withTargetVersions(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param targetVersions
  @return Returns a reference to this object so that method calls can be chained together.