code: public void setEntityAggregates(java.util.Collection<EntityAggregate> entityAggregates) {
          if (entityAggregates == null) {
              this.entityAggregates = null;
              return;
          }
  
          this.entityAggregates = new java.util.ArrayList<EntityAggregate>(entityAggregates);
      }
docs: <p>
  The number of entities that are affected by each of the specified events.
  </p>
  
  @param entityAggregates
  The number of entities that are affected by each of the specified events.