Class ErrorDetails
java.lang.Object
com.microsoft.azure.management.network.ErrorDetails
Common error details representation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get error code.message()
Get error message.target()
Get error target.Set error code.withMessage
(String message) Set error message.withTarget
(String target) Set error target.
-
Constructor Details
-
ErrorDetails
public ErrorDetails()
-
-
Method Details
-
code
Get error code.- Returns:
- the code value
-
withCode
Set error code.- Parameters:
code
- the code value to set- Returns:
- the ErrorDetails object itself.
-
target
Get error target.- Returns:
- the target value
-
withTarget
Set error target.- Parameters:
target
- the target value to set- Returns:
- the ErrorDetails object itself.
-
message
Get error message.- Returns:
- the message value
-
withMessage
Set error message.- Parameters:
message
- the message value to set- Returns:
- the ErrorDetails object itself.
-