Class AzureResourceErrorInfo
java.lang.Object
com.azure.resourcemanager.appservice.models.ErrorInfo
com.azure.resourcemanager.appservice.models.AzureResourceErrorInfo
The azure resource error info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondetails()
Get the details property: The error details.message()
Get the message property: The error message.void
validate()
Validates the instance.Set the code property: The error code.withDetails
(List<AzureResourceErrorInfo> details) Set the details property: The error details.withMessage
(String message) Set the message property: The error message.
-
Constructor Details
-
AzureResourceErrorInfo
public AzureResourceErrorInfo()
-
-
Method Details
-
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 AzureResourceErrorInfo object itself.
-
details
Get the details property: The error details.- Returns:
- the details value.
-
withDetails
Set the details property: The error details.- Parameters:
details
- the details value to set.- Returns:
- the AzureResourceErrorInfo object itself.
-
withCode
Set the code property: The error code. -
validate
public void validate()Validates the instance.- Overrides:
validate
in classErrorInfo
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-