Class ValidationResponseErrorInfo
- java.lang.Object
-
- com.azure.resourcemanager.authorization.models.ValidationResponseErrorInfo
-
public final class ValidationResponseErrorInfo extends Object
Failed validation result details.
-
-
Constructor Summary
Constructors Constructor Description ValidationResponseErrorInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get the code property: Error code indicating why validation failed.String
message()
Get the message property: Message indicating why validation failed.void
validate()
Validates the instance.
-
-
-
Method Detail
-
code
public String code()
Get the code property: Error code indicating why validation failed.- Returns:
- the code value.
-
message
public String message()
Get the message property: Message indicating why validation failed.- Returns:
- the message value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-