Class AzureResourceErrorInfo
java.lang.Object
com.azure.resourcemanager.appservice.models.ErrorInfo
com.azure.resourcemanager.appservice.models.AzureResourceErrorInfo
The azure resource error info.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureResourceErrorInfo class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()Get the details property: The error details.message()Get the message property: The error message.voidvalidate()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()Creates an instance of AzureResourceErrorInfo class.
-
-
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:
validatein classErrorInfo- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-