code: public DescribeEventAggregatesResult withEventAggregates(EventAggregate... eventAggregates) {
          if (this.eventAggregates == null) {
              setEventAggregates(new java.util.ArrayList<EventAggregate>(eventAggregates.length));
          }
          for (EventAggregate ele : eventAggregates) {
              this.eventAggregates.add(ele);
          }
          return this;
      }
docs: <p>
  The number of events in each category that meet the optional filter criteria.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEventAggregates(java.util.Collection)} or {@link #withEventAggregates(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param eventAggregates
  The number of events in each category that meet the optional filter criteria.
  @return Returns a reference to this object so that method calls can be chained together.