Class ApiErrorBase
java.lang.Object
com.microsoft.azure.management.compute.ApiErrorBase
Api error base.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the error code.message()
Get the error message.target()
Get the target of the particular error.Set the error code.withMessage
(String message) Set the error message.withTarget
(String target) Set the target of the particular error.
-
Constructor Details
-
ApiErrorBase
public ApiErrorBase()
-
-
Method Details
-
code
Get the error code.- Returns:
- the code value
-
withCode
Set the error code.- Parameters:
code
- the code value to set- Returns:
- the ApiErrorBase object itself.
-
target
Get the target of the particular error.- Returns:
- the target value
-
withTarget
Set the target of the particular error.- Parameters:
target
- the target value to set- Returns:
- the ApiErrorBase object itself.
-
message
Get the error message.- Returns:
- the message value
-
withMessage
Set the error message.- Parameters:
message
- the message value to set- Returns:
- the ApiErrorBase object itself.
-