ErrorDetails Class
- java.
lang. Object - com.
microsoft. azure. management. network. ErrorDetails
- com.
public class ErrorDetails
The ErrorDetails model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value. |
String |
message()
Get the message value. |
String |
target()
Get the target value. |
Error |
withCode(String code)
Set the code 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:
message
public String message()
Get the message value.
Returns:
target
public String target()
Get the target value.
Returns:
withCode
public ErrorDetails withCode(String code)
Set the code value.
Parameters:
Returns:
withMessage
public ErrorDetails withMessage(String message)
Set the message value.
Parameters:
Returns:
withTarget
public ErrorDetails 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