Class ErrorDetail
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ErrorDetail
Error Detail class which encapsulates Code, Message and Recommendations.
-
Constructor Details
-
ErrorDetail
public ErrorDetail()Creates an instance of ErrorDetail class.
-
-
Method Details
-
code
Get the code property: Error code.- Returns:
- the code value.
-
message
Get the message property: Error Message related to the Code.- Returns:
- the message value.
-
recommendations
Get the recommendations property: List of recommendation strings.- Returns:
- the recommendations value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-