public UpdateStackRequest withAttributesToDelete(String... attributesToDelete) {
        if (this.attributesToDelete == null) {
            setAttributesToDelete(new java.util.ArrayList<String>(attributesToDelete.length));
        }
        for (String ele : attributesToDelete) {
            this.attributesToDelete.add(ele);
        }
        return this;
    }
<p>
The stack attributes to delete.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttributesToDelete(java.util.Collection)} or {@link #withAttributesToDelete(java.util.Collection)} if
you want to override the existing values.
</p>

@param attributesToDelete
       The stack attributes to delete.
@return Returns a reference to this object so that method calls can be chained together.
@see StackAttribute
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/UpdateStackRequest.java