Package com.oracle.bmc.dataflow.model
Class WorkRequestError.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.WorkRequestError.Builder
-
- Enclosing class:
- WorkRequestError
public static class WorkRequestError.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
code
public WorkRequestError.Builder code(String code)
A Machine-usable code for the error that occured.- Parameters:
code
- the value to set- Returns:
- this builder
-
id
public WorkRequestError.Builder id(Long id)
The id of a work request error.- Parameters:
id
- the value to set- Returns:
- this builder
-
message
public WorkRequestError.Builder message(String message)
A human readable description of the issue encountered.- Parameters:
message
- the value to set- Returns:
- this builder
-
timestamp
public WorkRequestError.Builder timestamp(Date timestamp)
The time the error occured.An RFC3339 formatted datetime string.
- Parameters:
timestamp
- the value to set- Returns:
- this builder
-
workRequestid
public WorkRequestError.Builder workRequestid(String workRequestid)
The OCID of a work request.- Parameters:
workRequestid
- the value to set- Returns:
- this builder
-
build
public WorkRequestError build()
-
copy
public WorkRequestError.Builder copy(WorkRequestError model)
-
-