code: public ValidateConfigurationSettingsRequest withOptionSettings(ConfigurationOptionSetting... optionSettings) {
          if (this.optionSettings == null) {
              setOptionSettings(new com.amazonaws.internal.SdkInternalList<ConfigurationOptionSetting>(optionSettings.length));
          }
          for (ConfigurationOptionSetting ele : optionSettings) {
              this.optionSettings.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the options and desired values to evaluate.
  </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
  A list of the options and desired values to evaluate.
  @return Returns a reference to this object so that method calls can be chained together.