public DescribeEntityAggregatesResult withEntityAggregates(java.util.Collection<EntityAggregate> entityAggregates) {
        setEntityAggregates(entityAggregates);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/DescribeEntityAggregatesResult.java