Error Class
- java.
lang. Object - com.
microsoft. azure. management. network. Error
- com.
public class Error
The Error model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value. |
List<Error |
details()
Get the details value. |
String |
innerError()
Get the innerError value. |
String |
message()
Get the message value. |
String |
target()
Get the target value. |
Error |
withCode(String code)
Set the code value. |
Error |
withDetails(List<ErrorDetails> details)
Set the details value. |
Error |
withInnerError(String innerError)
Set the innerError value. |
Error |
withMessage(String message)
Set the message value. |
Error |
withTarget(String target)
Set the target value. |
Method Details
code
public String code()
Get the code value.
Returns:
details
public List
Get the details value.
Returns:
innerError
public String innerError()
Get the innerError value.
Returns:
message
public String message()
Get the message value.
Returns:
target
public String target()
Get the target value.
Returns:
withCode
public Error withCode(String code)
Set the code value.
Parameters:
Returns:
withDetails
public Error withDetails(List
Set the details value.
Parameters:
Returns:
withInnerError
public Error withInnerError(String innerError)
Set the innerError value.
Parameters:
Returns:
withMessage
public Error withMessage(String message)
Set the message value.
Parameters:
Returns:
withTarget
public Error withTarget(String target)
Set the target value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for