public UpdateGeneratedTemplateRequest withRemoveResources(String... removeResources) {
        if (this.removeResources == null) {
            setRemoveResources(new com.amazonaws.internal.SdkInternalList<String>(removeResources.length));
        }
        for (String ele : removeResources) {
            this.removeResources.add(ele);
        }
        return this;
    }
<p>
A list of logical ids for resources to remove from the generated template.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRemoveResources(java.util.Collection)} or {@link #withRemoveResources(java.util.Collection)} if you
want to override the existing values.
</p>

@param removeResources
       A list of logical ids for resources to remove from the generated template.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/UpdateGeneratedTemplateRequest.java