Class AnalyzeHealthcareEntitiesAction
java.lang.Object
com.azure.ai.textanalytics.models.AnalyzeHealthcareEntitiesAction
Configurations that allow callers to specify details about how to execute an healthcare analysis action in a set of
documents.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aAnalyzeHealthcareEntitiesActionmodel. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of action.Gets the version of the text analytics model used by this operation.booleanGets the value of service logs disable status.setActionName(String actionName) Set the custom name for the action.setModelVersion(String modelVersion) Sets the model version.setServiceLogsDisabled(boolean disableServiceLogs) Sets the value of service logs disable status.
-
Constructor Details
-
AnalyzeHealthcareEntitiesAction
public AnalyzeHealthcareEntitiesAction()Constructs aAnalyzeHealthcareEntitiesActionmodel.
-
-
Method Details
-
getActionName
Get the name of action.- Returns:
- the name of action.
-
setActionName
Set the custom name for the action.- Parameters:
actionName- the custom name for the action.- Returns:
- The
AnalyzeHealthcareEntitiesActionobject itself.
-
getModelVersion
Gets the version of the text analytics model used by this operation.- Returns:
- The model version.
-
setModelVersion
Sets the model version. This value indicates which model will be used for scoring, e.g. "latest", "2019-10-01". If a model-version is not specified, the API will default to the latest, non-preview version.- Parameters:
modelVersion- The model version.- Returns:
- The
AnalyzeHealthcareEntitiesActionobject itself.
-
isServiceLogsDisabled
public boolean isServiceLogsDisabled()Gets the value of service logs disable status. 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.- Returns:
- true if service logging of input text is disabled.
-
setServiceLogsDisabled
Sets the value of service logs disable status.- Parameters:
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.- Returns:
- The
AnalyzeHealthcareEntitiesActionobject itself.
-