RecognizeCustomEntitiesOptions Class

  • java.lang.Object
    • com.azure.ai.textanalytics.models.RecognizeCustomEntitiesOptions

public final class RecognizeCustomEntitiesOptions

The RecognizeCustomEntitiesOptions model.

Constructor Summary

Constructor Description
RecognizeCustomEntitiesOptions()

Constructs a RecognizeCustomEntitiesOptions model.

Method Summary

Modifier and Type Method and Description
String getDisplayName()

Gets display name of the operation.

boolean isIncludeStatistics()

Get the value of includeStatistics.

boolean isServiceLogsDisabled()

Gets the value of disableServiceLogs.

RecognizeCustomEntitiesOptions setDisplayName(String displayName)

Sets display name of the operation.

RecognizeCustomEntitiesOptions setIncludeStatistics(boolean includeStatistics)

Set the value of includeStatistics.

RecognizeCustomEntitiesOptions setServiceLogsDisabled(boolean disableServiceLogs)

Sets the value of disableServiceLogs.

Methods inherited from java.lang.Object

Constructor Details

RecognizeCustomEntitiesOptions

public RecognizeCustomEntitiesOptions()

Constructs a RecognizeCustomEntitiesOptions model.

Method Details

getDisplayName

public String getDisplayName()

Gets display name of the operation.

Returns:

Display name of the operation.

isIncludeStatistics

public boolean isIncludeStatistics()

Get the value of includeStatistics.

Returns:

The value of includeStatistics.

isServiceLogsDisabled

public boolean isServiceLogsDisabled()

Gets the value of disableServiceLogs.

Returns:

The value of 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.

setDisplayName

public RecognizeCustomEntitiesOptions setDisplayName(String displayName)

Sets display name of the operation.

Parameters:

displayName - Display name of the operation.

Returns:

The RecognizeCustomEntitiesOptions object itself.

setIncludeStatistics

public RecognizeCustomEntitiesOptions setIncludeStatistics(boolean includeStatistics)

Set the value of 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.

Parameters:

includeStatistics - If a boolean value was specified in the request this field will contain information about the document payload.

Returns:

the RecognizeCustomEntitiesOptions object itself.

setServiceLogsDisabled

public RecognizeCustomEntitiesOptions setServiceLogsDisabled(boolean disableServiceLogs)

Sets the value of disableServiceLogs.

Parameters:

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.

Returns:

The RecognizeCustomEntitiesOptions object itself.

Applies to