public final class ValidateResponseError extends Object
| Constructor and Description |
|---|
ValidateResponseError() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get the code property: Validation error code.
|
String |
message()
Get the message property: Validation error message.
|
void |
validate()
Validates the instance.
|
ValidateResponseError |
withCode(String code)
Set the code property: Validation error code.
|
ValidateResponseError |
withMessage(String message)
Set the message property: Validation error message.
|
public String code()
public ValidateResponseError withCode(String code)
code - the code value to set.public String message()
public ValidateResponseError withMessage(String message)
message - the message value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.