ErrorRecord Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.textanalytics.models.ErrorRecord

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.

ErrorRecord withId(String id)

Set the id value.

ErrorRecord 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