code: public OptionGroupOption withOptionGroupOptionVersions(OptionVersion... optionGroupOptionVersions) {
          if (this.optionGroupOptionVersions == null) {
              setOptionGroupOptionVersions(new com.amazonaws.internal.SdkInternalList<OptionVersion>(optionGroupOptionVersions.length));
          }
          for (OptionVersion ele : optionGroupOptionVersions) {
              this.optionGroupOptionVersions.add(ele);
          }
          return this;
      }
docs: <p>
  The versions that are available for the option.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setOptionGroupOptionVersions(java.util.Collection)} or
  {@link #withOptionGroupOptionVersions(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param optionGroupOptionVersions
  The versions that are available for the option.
  @return Returns a reference to this object so that method calls can be chained together.