Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ErrorBody |
build() |
ErrorBody.Builder |
code(String code)
A short error code that defines the error, which is useful for programmatic parsing.
|
ErrorBody.Builder |
copy(ErrorBody model) |
ErrorBody.Builder |
message(String message)
A human-readable error string.
|
public ErrorBody.Builder code(String code)
A short error code that defines the error, which is useful for programmatic parsing.
code
- the value to setpublic ErrorBody.Builder message(String message)
A human-readable error string.
message
- the value to setpublic ErrorBody build()
public ErrorBody.Builder copy(ErrorBody model)
Copyright © 2016–2024. All rights reserved.