TextAnalyticsWarning Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. TextAnalyticsWarning
- com.
public final class TextAnalyticsWarning
The TextAnalyticsWarning model.
Constructor Summary
| Constructor | Description |
|---|---|
| TextAnalyticsWarning(WarningCode warningCode, String message) |
Creates a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getMessage()
Get the message property: Warning message. |
|
Warning |
getWarningCode()
Get the warning code property: warning code, such as 'Long |
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:
Method Details
getMessage
public String getMessage()
Get the message property: Warning message.
Returns:
getWarningCode
public WarningCode getWarningCode()
Get the warning code property: warning code, such as 'LongWordsInDocument'.
Returns: