public UpdateWebACLRequest withUpdates(WebACLUpdate... updates) {
        if (this.updates == null) {
            setUpdates(new java.util.ArrayList<WebACLUpdate>(updates.length));
        }
        for (WebACLUpdate ele : updates) {
            this.updates.add(ele);
        }
        return this;
    }
<p>
An array of updates to make to the <a>WebACL</a>.
</p>
<p>
An array of <code>WebACLUpdate</code> objects that you want to insert into or delete from a <a>WebACL</a>. For
more information, see the applicable data types:
</p>
<ul>
<li>
<p>
<a>WebACLUpdate</a>: Contains <code>Action</code> and <code>ActivatedRule</code>
</p>
</li>
<li>
<p>
<a>ActivatedRule</a>: Contains <code>Action</code>, <code>OverrideAction</code>, <code>Priority</code>,
<code>RuleId</code>, and <code>Type</code>. <code>ActivatedRule|OverrideAction</code> applies only when updating
or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case, you do not use
<code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used
instead of <code>ActivatedRule|OverrideAction</code>.
</p>
</li>
<li>
<p>
<a>WafAction</a>: Contains <code>Type</code>
</p>
</li>
</ul>
<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 updates to make to the <a>WebACL</a>.</p>
       <p>
       An array of <code>WebACLUpdate</code> objects that you want to insert into or delete from a <a>WebACL</a>.
       For more information, see the applicable data types:
       </p>
       <ul>
       <li>
       <p>
       <a>WebACLUpdate</a>: Contains <code>Action</code> and <code>ActivatedRule</code>
       </p>
       </li>
       <li>
       <p>
       <a>ActivatedRule</a>: Contains <code>Action</code>, <code>OverrideAction</code>, <code>Priority</code>,
       <code>RuleId</code>, and <code>Type</code>. <code>ActivatedRule|OverrideAction</code> applies only when
       updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case, you do not use
       <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is
       used instead of <code>ActivatedRule|OverrideAction</code>.
       </p>
       </li>
       <li>
       <p>
       <a>WafAction</a>: Contains <code>Type</code>
       </p>
       </li>
@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/UpdateWebACLRequest.java