Package com.oracle.bmc.datasafe.model
Class WorkRequestError.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.WorkRequestError.Builder
 
- 
- Enclosing class:
- WorkRequestError
 
 public static class WorkRequestError.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkRequestErrorbuild()WorkRequestError.Buildercode(String code)A machine-usable error code.WorkRequestError.Buildercopy(WorkRequestError model)WorkRequestError.Buildermessage(String message)A human-readable error string.WorkRequestError.Buildertimestamp(Date timestamp)The date and time the error occurred, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
codepublic WorkRequestError.Builder code(String code) A machine-usable error code.For a list of common errors, see API Errors. - Parameters:
- code- the value to set
- Returns:
- this builder
 
 - 
messagepublic WorkRequestError.Builder message(String message) A human-readable error string.- Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
timestamppublic WorkRequestError.Builder timestamp(Date timestamp) The date and time the error occurred, in the format defined by RFC3339.- Parameters:
- timestamp- the value to set
- Returns:
- this builder
 
 - 
buildpublic WorkRequestError build() 
 - 
copypublic WorkRequestError.Builder copy(WorkRequestError model) 
 
- 
 
-