public DescribeAffectedEntitiesResult withEntities(java.util.Collection<AffectedEntity> entities) {
        setEntities(entities);
        return this;
    }
<p>
The entities that match the filter criteria.
</p>

@param entities
       The entities that match the filter criteria.
@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/DescribeAffectedEntitiesResult.java