Class ErrorInfo
java.lang.Object
com.azure.resourcemanager.appservice.models.ErrorInfo
- Direct Known Subclasses:
AzureResourceErrorInfo
The error info.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ErrorInfo
public ErrorInfo()
-
-
Method Details
-
code
Get the code property: The error code.- Returns:
- the code value.
-
withCode
Set the code property: The error code.- Parameters:
code
- the code value to set.- Returns:
- the ErrorInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-