public final class RecognizePiiEntitiesOptions extends TextAnalyticsRequestOptions
RecognizePiiEntitiesOptions
model.Constructor and Description |
---|
RecognizePiiEntitiesOptions() |
Modifier and Type | Method and Description |
---|---|
Iterable<PiiEntityCategory> |
getCategoriesFilter()
Get the value of categoriesFilter.
|
PiiEntityDomainType |
getDomainFilter()
Get the value of domainFilter.
|
StringIndexType |
getStringIndexType()
Get the value of
stringIndexType . |
RecognizePiiEntitiesOptions |
setCategoriesFilter(PiiEntityCategory... categoriesFilter)
Set the value of categoriesFilter.
|
RecognizePiiEntitiesOptions |
setDomainFilter(PiiEntityDomainType domainFilter)
Set the value of domainFilter.
|
RecognizePiiEntitiesOptions |
setIncludeStatistics(boolean includeStatistics)
Set the value of
includeStatistics . |
RecognizePiiEntitiesOptions |
setModelVersion(String modelVersion)
Set the model version.
|
RecognizePiiEntitiesOptions |
setServiceLogsDisabled(boolean disableServiceLogs)
Set the value of
disableServiceLogs . |
RecognizePiiEntitiesOptions |
setStringIndexType(StringIndexType stringIndexType)
Set the value of
stringIndexType . |
getModelVersion, isIncludeStatistics, isServiceLogsDisabled
public RecognizePiiEntitiesOptions setModelVersion(String modelVersion)
setModelVersion
in class TextAnalyticsRequestOptions
modelVersion
- The model version.RecognizePiiEntitiesOptions
object itself.public RecognizePiiEntitiesOptions setIncludeStatistics(boolean includeStatistics)
includeStatistics
. The default value is false by default.
If set to true, indicates that the service should return document and document batch statistics
with the results of the operation.setIncludeStatistics
in class TextAnalyticsRequestOptions
includeStatistics
- If a boolean value was specified in the request this field will contain
information about the document payload.RecognizePiiEntitiesOptions
object itself.public RecognizePiiEntitiesOptions setServiceLogsDisabled(boolean disableServiceLogs)
disableServiceLogs
.setServiceLogsDisabled
in class TextAnalyticsRequestOptions
disableServiceLogs
- The default value of this property is 'true'. This means, Text Analytics service
does not log your input text. Setting this property to 'false', enables the service to log your text input for
48 hours, solely to allow for troubleshooting issues.RecognizePiiEntitiesOptions
object itself.public PiiEntityDomainType getDomainFilter()
public RecognizePiiEntitiesOptions setDomainFilter(PiiEntityDomainType domainFilter)
domainFilter
- It filters the response entities to ones only included in the specified domain.RecognizePiiEntitiesOptions
object itself.public Iterable<PiiEntityCategory> getCategoriesFilter()
public RecognizePiiEntitiesOptions setCategoriesFilter(PiiEntityCategory... categoriesFilter)
categoriesFilter
- It filters the response entities to ones only included in the specified categories.RecognizePiiEntitiesOptions
object itself.public StringIndexType getStringIndexType()
stringIndexType
.stringIndexType
.public RecognizePiiEntitiesOptions setStringIndexType(StringIndexType stringIndexType)
stringIndexType
.
The StringIndexType.UTF16CODE_UNIT
will be used as default type if there is no value assign to it.stringIndexType
- It used to set the value of string indexing type.RecognizePiiEntitiesOptions
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.