Class ErrorDefinition
java.lang.Object
com.microsoft.azure.management.resources.ErrorDefinition
Error description and code explaining why resource name is invalid.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get code of the error.message()
Get description of the error.Set code of the error.withMessage
(String message) Set description of the error.
-
Constructor Details
-
ErrorDefinition
public ErrorDefinition()
-
-
Method Details
-
message
Get description of the error.- Returns:
- the message value
-
withMessage
Set description of the error.- Parameters:
message
- the message value to set- Returns:
- the ErrorDefinition object itself.
-
code
Get code of the error.- Returns:
- the code value
-
withCode
Set code of the error.- Parameters:
code
- the code value to set- Returns:
- the ErrorDefinition object itself.
-