Class ErrorDetail
java.lang.Object
com.azure.resourcemanager.redis.models.ErrorDetail
The error detail.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalInfo property: The error additional info.code()Get the code property: The error code.details()Get the details property: The error details.message()Get the message property: The error message.target()Get the target property: The error target.voidvalidate()Validates the instance.
-
Constructor Details
-
ErrorDetail
public ErrorDetail()Creates an instance of ErrorDetail class.
-
-
Method Details
-
code
Get the code property: The error code.- Returns:
- the code value.
-
message
Get the message property: The error message.- Returns:
- the message value.
-
target
Get the target property: The error target.- Returns:
- the target value.
-
details
Get the details property: The error details.- Returns:
- the details value.
-
additionalInfo
Get the additionalInfo property: The error additional info.- Returns:
- the additionalInfo value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-