public void setEntities(java.util.Collection<AffectedEntity> entities) {
        if (entities == null) {
            this.entities = null;
            return;
        }

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