public java.util.List<Entity> getEntities() {
        return entities;
    }
<p>
The collection of PHI entities extracted from the input text and their associated information. For each entity,
the response provides the entity text, the entity category, where the entity text begins and ends, and the level
of confidence that Amazon Comprehend Medical has in its detection.
</p>

@return The collection of PHI entities extracted from the input text and their associated information. For each
        entity, the response provides the entity text, the entity category, where the entity text begins and
        ends, and the level of confidence that Amazon Comprehend Medical has in its detection.
aws-java-sdk-comprehendmedical/src/main/java/com/amazonaws/services/comprehendmedical/model/DetectPHIResult.java