public class TextAnalyticsRequestOptions extends Object
TextAnalyticsRequestOptions
model.Constructor and Description |
---|
TextAnalyticsRequestOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getModelVersion()
Gets the version of the text analytics model used by this operation.
|
boolean |
isIncludeStatistics()
Get the value of
includeStatistics . |
boolean |
isServiceLogsDisabled()
Get the value of
disableServiceLogs . |
TextAnalyticsRequestOptions |
setIncludeStatistics(boolean includeStatistics)
Set the value of
includeStatistics . |
TextAnalyticsRequestOptions |
setModelVersion(String modelVersion)
Set the model version.
|
TextAnalyticsRequestOptions |
setServiceLogsDisabled(boolean disableServiceLogs)
Set the value of
disableServiceLogs . |
public String getModelVersion()
public TextAnalyticsRequestOptions setModelVersion(String modelVersion)
modelVersion
- The model version.TextAnalyticsRequestOptions
object itself.public boolean isIncludeStatistics()
includeStatistics
.includeStatistics
.public TextAnalyticsRequestOptions 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.includeStatistics
- If a boolean value was specified in the request this field will contain
information about the document payload.TextAnalyticsRequestOptions
object itself.public boolean isServiceLogsDisabled()
disableServiceLogs
.disableServiceLogs
. The default value of this property is 'false'. This means,
Text Analytics service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting
this property to true, disables input logging and may limit our ability to investigate issues that occur.public TextAnalyticsRequestOptions setServiceLogsDisabled(boolean disableServiceLogs)
disableServiceLogs
.disableServiceLogs
- The default value of this property is 'false', except for methods like
'beginAnalyzeHealthcareEntities' and 'recognizePiiEntities'. This means, Text Analytics service logs
your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
disables input logging and may limit our ability to investigate issues that occur.TextAnalyticsRequestOptions
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.