public DescribeEntityAggregatesForOrganizationResult withOrganizationEntityAggregates(OrganizationEntityAggregate... organizationEntityAggregates) {
        if (this.organizationEntityAggregates == null) {
            setOrganizationEntityAggregates(new java.util.ArrayList<OrganizationEntityAggregate>(organizationEntityAggregates.length));
        }
        for (OrganizationEntityAggregate ele : organizationEntityAggregates) {
            this.organizationEntityAggregates.add(ele);
        }
        return this;
    }
<p>
The list of entity aggregates for each of the specified accounts that are affected by each of the specified
events.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOrganizationEntityAggregates(java.util.Collection)} or
{@link #withOrganizationEntityAggregates(java.util.Collection)} if you want to override the existing values.
</p>

@param organizationEntityAggregates
       The list of entity aggregates for each of the specified accounts 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/DescribeEntityAggregatesForOrganizationResult.java