code: public OptionGroupOption withOptionGroupOptionSettings(OptionGroupOptionSetting... optionGroupOptionSettings) {
          if (this.optionGroupOptionSettings == null) {
              setOptionGroupOptionSettings(new com.amazonaws.internal.SdkInternalList<OptionGroupOptionSetting>(optionGroupOptionSettings.length));
          }
          for (OptionGroupOptionSetting ele : optionGroupOptionSettings) {
              this.optionGroupOptionSettings.add(ele);
          }
          return this;
      }
docs: <p>
  The option settings that are available (and the default value) for each option in an option group.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setOptionGroupOptionSettings(java.util.Collection)} or
  {@link #withOptionGroupOptionSettings(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param optionGroupOptionSettings
  The option settings that are available (and the default value) for each option in an option group.
  @return Returns a reference to this object so that method calls can be chained together.