public final class RecognizePiiEntitiesAction extends Object
Constructor and Description |
---|
RecognizePiiEntitiesAction() |
Modifier and Type | Method and Description |
---|---|
Iterable<PiiEntityCategory> |
getCategoriesFilter()
Gets the value of categoriesFilter.
|
PiiEntityDomain |
getDomainFilter()
Gets the value of domainFilter.
|
String |
getModelVersion()
Gets the version of the text analytics model used by this operation.
|
boolean |
isServiceLogsDisabled()
Gets the value of service logs disable status.
|
RecognizePiiEntitiesAction |
setCategoriesFilter(PiiEntityCategory... categoriesFilter)
Sets the value of categoriesFilter.
|
RecognizePiiEntitiesAction |
setDomainFilter(PiiEntityDomain domainFilter)
Sets the value of domainFilter.
|
RecognizePiiEntitiesAction |
setModelVersion(String modelVersion)
Sets the model version.
|
RecognizePiiEntitiesAction |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of service logs disable status.
|
public String getModelVersion()
public RecognizePiiEntitiesAction setModelVersion(String modelVersion)
modelVersion
- The model version.RecognizePiiEntitiesAction
object itself.public boolean isServiceLogsDisabled()
public RecognizePiiEntitiesAction setServiceLogsDisabled(boolean disableServiceLogs)
disableServiceLogs
- The default value of this property is 'true'. This means, Text Analytics service won't
log your input text. Setting this property to 'false', enables logging your input text for 48 hours,
solely to allow for troubleshooting issues.RecognizePiiEntitiesAction
object itself.public PiiEntityDomain getDomainFilter()
public RecognizePiiEntitiesAction setDomainFilter(PiiEntityDomain domainFilter)
domainFilter
- It filters the response entities to ones only included in the specified domain.RecognizePiiEntitiesAction
object itself.public Iterable<PiiEntityCategory> getCategoriesFilter()
public RecognizePiiEntitiesAction setCategoriesFilter(PiiEntityCategory... categoriesFilter)
categoriesFilter
- It filters the response entities to ones only included in the specified categories.RecognizePiiEntitiesAction
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.