public final class RecognizePiiEntitiesOptions extends TextAnalyticsRequestOptions
RecognizePiiEntitiesOptions
model.Constructor and Description |
---|
RecognizePiiEntitiesOptions() |
Modifier and Type | Method and Description |
---|---|
Iterable<PiiEntityCategory> |
getCategoriesFilter()
Gets the value of categoriesFilter.
|
PiiEntityDomain |
getDomainFilter()
Gets the value of domainFilter.
|
boolean |
isServiceLogsDisabled()
Gets the value of service logs disable status.
|
RecognizePiiEntitiesOptions |
setCategoriesFilter(PiiEntityCategory... categoriesFilter)
Sets the value of categoriesFilter.
|
RecognizePiiEntitiesOptions |
setDomainFilter(PiiEntityDomain domainFilter)
Sets the value of domainFilter.
|
RecognizePiiEntitiesOptions |
setIncludeStatistics(boolean includeStatistics)
Sets the value of
includeStatistics . |
RecognizePiiEntitiesOptions |
setModelVersion(String modelVersion)
Sets the model version.
|
RecognizePiiEntitiesOptions |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of service logs disable status.
|
getModelVersion, isIncludeStatistics
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 boolean isServiceLogsDisabled()
isServiceLogsDisabled
in class TextAnalyticsRequestOptions
public RecognizePiiEntitiesOptions setServiceLogsDisabled(boolean 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 PiiEntityDomain getDomainFilter()
public RecognizePiiEntitiesOptions setDomainFilter(PiiEntityDomain 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.Copyright © 2021 Microsoft Corporation. All rights reserved.