docs: 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;
      }