public UpdateRegexMatchSetRequest withUpdates(RegexMatchSetUpdate... updates) {
        if (this.updates == null) {
            setUpdates(new java.util.ArrayList<RegexMatchSetUpdate>(updates.length));
        }
        for (RegexMatchSetUpdate ele : updates) {
            this.updates.add(ele);
        }
        return this;
    }
<p>
An array of <code>RegexMatchSetUpdate</code> objects that you want to insert into or delete from a
<a>RegexMatchSet</a>. For more information, see <a>RegexMatchTuple</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUpdates(java.util.Collection)} or {@link #withUpdates(java.util.Collection)} if you want to override
the existing values.
</p>

@param updates
       An array of <code>RegexMatchSetUpdate</code> objects that you want to insert into or delete from a
       <a>RegexMatchSet</a>. For more information, see <a>RegexMatchTuple</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/UpdateRegexMatchSetRequest.java