Freigeben über


TextAnalyticsWarning Class

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

public final class TextAnalyticsWarning

The TextAnalyticsWarning model.

Constructor Summary

Constructor Description
TextAnalyticsWarning(WarningCode warningCode, String message)

Creates a TextAnalyticsWarning model that describes text analytics warning.

Method Summary

Modifier and Type Method and Description
String getMessage()

Get the message property: Warning message.

WarningCode getWarningCode()

Get the warning code property: warning code, such as 'LongWordsInDocument'.

Methods inherited from java.lang.Object

Constructor Details

TextAnalyticsWarning

public TextAnalyticsWarning(WarningCode warningCode, String message)

Creates a TextAnalyticsWarning model that describes text analytics warning.

Parameters:

warningCode - The warning code value
message - The warning message.

Method Details

getMessage

public String getMessage()

Get the message property: Warning message.

Returns:

the message value.

getWarningCode

public WarningCode getWarningCode()

Get the warning code property: warning code, such as 'LongWordsInDocument'.

Returns:

the warning code value.

Applies to