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