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

        this.entities = new java.util.ArrayList<AffectedEntity>(entities);
    }
<p>
The entities that match the filter criteria.
</p>

@param entities
       The entities that match the filter criteria.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/DescribeAffectedEntitiesResult.java