public UpdateConfigurationTemplateRequest withOptionsToRemove(OptionSpecification... optionsToRemove) {
        if (this.optionsToRemove == null) {
            setOptionsToRemove(new com.amazonaws.internal.SdkInternalList<OptionSpecification>(optionsToRemove.length));
        }
        for (OptionSpecification ele : optionsToRemove) {
            this.optionsToRemove.add(ele);
        }
        return this;
    }
<p>
A list of configuration options to remove from the configuration set.
</p>
<p>
Constraint: You can remove only <code>UserDefined</code> configuration options.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOptionsToRemove(java.util.Collection)} or {@link #withOptionsToRemove(java.util.Collection)} if you
want to override the existing values.
</p>

@param optionsToRemove
       A list of configuration options to remove from the configuration set.</p>
       <p>
       Constraint: You can remove only <code>UserDefined</code> configuration options.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/UpdateConfigurationTemplateRequest.java