public class ErrorDetails extends Object
Constructor and Description |
---|
ErrorDetails() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value.
|
String |
message()
Get the message value.
|
String |
target()
Get the target value.
|
ErrorDetails |
withCode(String code)
Set the code value.
|
ErrorDetails |
withMessage(String message)
Set the message value.
|
ErrorDetails |
withTarget(String target)
Set the target value.
|
public String code()
public ErrorDetails withCode(String code)
code
- the code value to setpublic String target()
public ErrorDetails withTarget(String target)
target
- the target value to setpublic String message()
public ErrorDetails withMessage(String message)
message
- the message value to setCopyright © 2019. All rights reserved.