Class PiiEntityCollection
- java.lang.Object
-
- com.azure.core.util.IterableStream<PiiEntity>
-
- com.azure.ai.textanalytics.models.PiiEntityCollection
-
public final class PiiEntityCollection extends com.azure.core.util.IterableStream<PiiEntity>
ThePiiEntityCollection
model.
-
-
Constructor Summary
Constructors Constructor Description PiiEntityCollection(com.azure.core.util.IterableStream<PiiEntity> entities, String redactedText, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
Creates aPiiEntityCollection
model that describes a Personally Identifiable Information entities collection including warnings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRedactedText()
Get the property redactedText value.com.azure.core.util.IterableStream<TextAnalyticsWarning>
getWarnings()
Get theIterableStream
ofText Analytics warnings
.-
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 Detail
-
PiiEntityCollection
public PiiEntityCollection(com.azure.core.util.IterableStream<PiiEntity> entities, String redactedText, com.azure.core.util.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 Detail
-
getWarnings
public com.azure.core.util.IterableStream<TextAnalyticsWarning> getWarnings()
Get theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-
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 up.- Returns:
- The text of the input document with all of the PII information redacted out.
-
-