Class ApiError
java.lang.Object
com.microsoft.azure.management.compute.ApiError
Api error.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Get the error code.details()Get the Api error details.Get the Api inner error.message()Get the error message.target()Get the target of the particular error.Set the error code.withDetails(List<ApiErrorBase> details) Set the Api error details.withInnererror(InnerError innererror) Set the Api inner error.withMessage(String message) Set the error message.withTarget(String target) Set the target of the particular error.
-
Constructor Details
-
ApiError
public ApiError()
-
-
Method Details
-
details
Get the Api error details.- Returns:
- the details value
-
withDetails
Set the Api error details.- Parameters:
details- the details value to set- Returns:
- the ApiError object itself.
-
innererror
Get the Api inner error.- Returns:
- the innererror value
-
withInnererror
Set the Api inner error.- Parameters:
innererror- the innererror value to set- Returns:
- the ApiError object itself.
-
code
Get the error code.- Returns:
- the code value
-
withCode
Set the error code.- Parameters:
code- the code value to set- Returns:
- the ApiError 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 ApiError 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 ApiError object itself.
-