Class ValidateResponseError
java.lang.Object
com.azure.resourcemanager.appservice.models.ValidateResponseError
Error details for when validation fails.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Validation error code.message()
Get the message property: Validation error message.void
validate()
Validates the instance.Set the code property: Validation error code.withMessage
(String message) Set the message property: Validation error message.
-
Constructor Details
-
ValidateResponseError
public ValidateResponseError()
-
-
Method Details
-
code
Get the code property: Validation error code.- Returns:
- the code value.
-
withCode
Set the code property: Validation error code.- Parameters:
code
- the code value to set.- Returns:
- the ValidateResponseError object itself.
-
message
Get the message property: Validation error message.- Returns:
- the message value.
-
withMessage
Set the message property: Validation error message.- Parameters:
message
- the message value to set.- Returns:
- the ValidateResponseError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-