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 |
id(Long id)
The id of a work request error.
|
WorkRequestError.Builder |
message(String message)
A human readable description of the issue encountered.
|
WorkRequestError.Builder |
timestamp(Date timestamp)
The time the error occured.
|
WorkRequestError.Builder |
workRequestid(String workRequestid)
The OCID of a work request.
|
public WorkRequestError.Builder code(String code)
A Machine-usable code for the error that occured.
code
- the value to setpublic WorkRequestError.Builder id(Long id)
The id of a work request error.
id
- 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 time the error occured. An RFC3339 formatted datetime string.
timestamp
- the value to setpublic WorkRequestError.Builder workRequestid(String workRequestid)
The OCID of a work request.
workRequestid
- the value to setpublic WorkRequestError build()
public WorkRequestError.Builder copy(WorkRequestError model)
Copyright © 2016–2024. All rights reserved.