ErrorRecord Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. textanalytics. models. ErrorRecord
- com.
public class ErrorRecord
The ErrorRecord model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id value. |
String |
message()
Get the message value. |
Error |
withId(String id)
Set the id value. |
Error |
withMessage(String message)
Set the message value. |
Method Details
id
public String id()
Get the id value.
Returns:
the id value
message
public String message()
Get the message value.
Returns:
the message value
withId
public ErrorRecord withId(String id)
Set the id value.
Parameters:
id
- the id value to set
Returns:
the ErrorRecord object itself.
withMessage
public ErrorRecord withMessage(String message)
Set the message value.
Parameters:
message
- the message value to set
Returns:
the ErrorRecord object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java