Class PiiEntityCollection
The
PiiEntityCollection
model.-
Constructor Summary
ConstructorDescriptionPiiEntityCollection
(IterableStream<PiiEntity> entities, String redactedText, IterableStream<TextAnalyticsWarning> warnings) Creates aPiiEntityCollection
model that describes a Personally Identifiable Information entities collection including warnings. -
Method Summary
Modifier and TypeMethodDescriptionGet the property redactedText value.Get theIterableStream
ofText Analytics warnings
.Methods inherited from class com.azure.core.util.IterableStream
iterator, of, stream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PiiEntityCollection
public PiiEntityCollection(IterableStream<PiiEntity> entities, String redactedText, IterableStream<TextAnalyticsWarning> warnings) Creates aPiiEntityCollection
model that describes a Personally Identifiable Information entities collection including warnings.- Parameters:
entities
- AnIterableStream
ofPersonally Identifiable Information entities
.redactedText
- The text of the input document with all of the PII information redacted out.warnings
- AnIterableStream
ofwarnings
.
-
-
Method Details
-
getWarnings
Get theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-
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 up.- Returns:
- The text of the input document with all of the PII information redacted out.
-