PiiEntityCollection Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. ai. textanalytics. models. PiiEntityCollection
- com.
- com.
public final class PiiEntityCollection
extends IterableStream<PiiEntity>
The PiiEntityCollection model.
Constructor Summary
| Constructor | Description |
|---|---|
| PiiEntityCollection(IterableStream<PiiEntity> entities, String redactedText, IterableStream<TextAnalyticsWarning> warnings) |
Creates a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getRedactedText()
Get the property redacted |
|
Iterable |
getWarnings()
Get the IterableStream<T> of TextAnalyticsWarning. |
Methods inherited from IterableStream
Methods inherited from java.lang.Object
Constructor Details
PiiEntityCollection
public PiiEntityCollection(IterableStream<PiiEntity> entities, String redactedText, IterableStream<TextAnalyticsWarning> warnings)
Creates a PiiEntityCollection model that describes a Personally Identifiable Information entities collection including warnings.
Parameters:
Method Details
getRedactedText
public String getRedactedText()
Get the property redactedText value. The text of the input document with all of the PII information redacted out. Only returned for API version v3.1 and newer.
Returns:
getWarnings
public IterableStream<TextAnalyticsWarning> getWarnings()
Get the IterableStream<T> of TextAnalyticsWarning.
Returns: