Package com.oracle.bmc.bds.model
Class WorkRequestError.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.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 WorkRequestErrorbuild()WorkRequestError.Buildercode(String code)A machine-usable code for the error that occurred.WorkRequestError.Buildercopy(WorkRequestError model)WorkRequestError.Buildermessage(String message)A human readable description of the issue encountered.WorkRequestError.Buildertimestamp(Date timestamp)The time the error occurred, shown as an RFC 3339 formatted datetime string.
-
-
-
Method Detail
-
code
public WorkRequestError.Builder code(String code)
A machine-usable code for the error that occurred.Error codes are listed on (https://docs.oracle.com/en-us/iaas/Content/API/References/apierrors.htm).
- Parameters:
code- 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 occurred, shown as an RFC 3339 formatted datetime string.- Parameters:
timestamp- the value to set- Returns:
- this builder
-
build
public WorkRequestError build()
-
copy
public WorkRequestError.Builder copy(WorkRequestError model)
-
-