public void setEntityAggregates(java.util.Collection<EntityAggregate> entityAggregates) {
        if (entityAggregates == null) {
            this.entityAggregates = null;
            return;
        }

        this.entityAggregates = new java.util.ArrayList<EntityAggregate>(entityAggregates);
    }
<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.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/DescribeEntityAggregatesResult.java