Share via


MultiLabelClassifyOptions Class

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

public final class MultiLabelClassifyOptions

The MultiLabelClassifyOptions model.

Constructor Summary

Constructor Description
MultiLabelClassifyOptions()

Constructs a MultiLabelClassifyOptions 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.

MultiLabelClassifyOptions setDisplayName(String displayName)

Sets display name of the operation.

MultiLabelClassifyOptions setIncludeStatistics(boolean includeStatistics)

Set the value of includeStatistics.

MultiLabelClassifyOptions setServiceLogsDisabled(boolean disableServiceLogs)

Sets the value of disableServiceLogs.

Methods inherited from java.lang.Object

Constructor Details

MultiLabelClassifyOptions

public MultiLabelClassifyOptions()

Constructs a MultiLabelClassifyOptions 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 MultiLabelClassifyOptions setDisplayName(String displayName)

Sets display name of the operation.

Parameters:

displayName - Display name of the operation.

Returns:

The MultiLabelClassifyOptions object itself.

setIncludeStatistics

public MultiLabelClassifyOptions 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 MultiLabelClassifyOptions object itself.

setServiceLogsDisabled

public MultiLabelClassifyOptions 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 MultiLabelClassifyAction object itself.

Applies to