public static class WorkRequestError.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WorkRequestError |
build() |
WorkRequestError.Builder |
code(String code)
A machine-usable code for the error that occured.
|
WorkRequestError.Builder |
copy(WorkRequestError model) |
WorkRequestError.Builder |
message(String message)
A human readable description of the issue encountered.
|
WorkRequestError.Builder |
timestamp(Date timestamp)
The date and time the error happened, as described in
RFC 3339, section 14.29.
|
public WorkRequestError.Builder code(String code)
A machine-usable code for the error that occured.
code - the value to setpublic WorkRequestError.Builder message(String message)
A human readable description of the issue encountered.
message - the value to setpublic WorkRequestError.Builder timestamp(Date timestamp)
The date and time the error happened, as described in RFC 3339, section 14.29.
timestamp - the value to setpublic WorkRequestError build()
public WorkRequestError.Builder copy(WorkRequestError model)
Copyright © 2016–2022. All rights reserved.