code: public void setUpdates(java.util.Collection<RuleGroupUpdate> updates) {
          if (updates == null) {
              this.updates = null;
              return;
          }
  
          this.updates = new java.util.ArrayList<RuleGroupUpdate>(updates);
      }
docs: <p>
  An array of <code>RuleGroupUpdate</code> objects that you want to insert into or delete from a <a>RuleGroup</a>.
  </p>
  <p>
  You can only insert <code>REGULAR</code> rules into a rule group.
  </p>
  <p>
  <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>
  
  @param updates
  An array of <code>RuleGroupUpdate</code> objects that you want to insert into or delete from a
  <a>RuleGroup</a>.</p>
  <p>
  You can only insert <code>REGULAR</code> rules into a rule group.
  </p>
  <p>
  <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>.