code: public void setUpdates(java.util.Collection<RegexPatternSetUpdate> updates) {
          if (updates == null) {
              this.updates = null;
              return;
          }
  
          this.updates = new java.util.ArrayList<RegexPatternSetUpdate>(updates);
      }
docs: <p>
  An array of <code>RegexPatternSetUpdate</code> objects that you want to insert into or delete from a
  <a>RegexPatternSet</a>.
  </p>
  
  @param updates
  An array of <code>RegexPatternSetUpdate</code> objects that you want to insert into or delete from a
  <a>RegexPatternSet</a>.