public java.util.List<PiiEntity> getEntities() {
        return entities;
    }
<p>
A collection of PII entities identified in the input text. For each entity, the response provides the entity
type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the
detection.
</p>

@return A collection of PII entities identified in the input text. For each entity, the response provides the
        entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend
        has in the detection.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DetectPiiEntitiesResult.java