public DescribeAffectedEntitiesForOrganizationResult withEntities(java.util.Collection<AffectedEntity> entities) {
        setEntities(entities);
        return this;
    }
<p>
A JSON set of elements including the <code>awsAccountId</code> and its <code>entityArn</code>,
<code>entityValue</code> and its <code>entityArn</code>, <code>lastUpdatedTime</code>, and
<code>statusCode</code>.
</p>

@param entities
       A JSON set of elements including the <code>awsAccountId</code> and its <code>entityArn</code>,
       <code>entityValue</code> and its <code>entityArn</code>, <code>lastUpdatedTime</code>, and
       <code>statusCode</code>.
@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/DescribeAffectedEntitiesForOrganizationResult.java