Class OperationResultErrorProperties
java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.OperationResultErrorProperties
Operation result error properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: The code of the error.message()
Get the message property: The error message.void
validate()
Validates the instance.Set the code property: The code of the error.withMessage
(String message) Set the message property: The error message.
-
Constructor Details
-
OperationResultErrorProperties
public OperationResultErrorProperties()
-
-
Method Details
-
code
Get the code property: The code of the error.- Returns:
- the code value.
-
withCode
Set the code property: The code of the error.- Parameters:
code
- the code value to set.- Returns:
- the OperationResultErrorProperties object itself.
-
message
Get the message property: The error message.- Returns:
- the message value.
-
withMessage
Set the message property: The error message.- Parameters:
message
- the message value to set.- Returns:
- the OperationResultErrorProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-