Class ErrorDetail
- java.lang.Object
-
- com.azure.resourcemanager.redis.models.ErrorDetail
-
public final class ErrorDetail extends Object
The error detail.
-
-
Constructor Summary
Constructors Constructor Description ErrorDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ErrorAdditionalInfo>additionalInfo()Get the additionalInfo property: The error additional info.Stringcode()Get the code property: The error code.List<ErrorDetail>details()Get the details property: The error details.Stringmessage()Get the message property: The error message.Stringtarget()Get the target property: The error target.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
code
public String code()
Get the code property: The error code.- Returns:
- the code value.
-
message
public String message()
Get the message property: The error message.- Returns:
- the message value.
-
target
public String target()
Get the target property: The error target.- Returns:
- the target value.
-
details
public List<ErrorDetail> details()
Get the details property: The error details.- Returns:
- the details value.
-
additionalInfo
public List<ErrorAdditionalInfo> 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.
-
-