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, isIncludeStatisticspublic RecognizePiiEntitiesOptions setModelVersion(String modelVersion)
setModelVersion in class TextAnalyticsRequestOptionsmodelVersion - 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 TextAnalyticsRequestOptionsincludeStatistics - 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 TextAnalyticsRequestOptionspublic RecognizePiiEntitiesOptions setServiceLogsDisabled(boolean disableServiceLogs)
setServiceLogsDisabled in class TextAnalyticsRequestOptionsdisableServiceLogs - 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.