Package com.oracle.bmc.oda.model
Class WorkRequestError.Builder
- java.lang.Object
- 
- com.oracle.bmc.oda.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 code for the error that occurred.WorkRequestError.Buildercopy(WorkRequestError model)WorkRequestError.Buildermessage(String message)A human-readable description of the issue.WorkRequestError.BuildertimeStamp(Date timeStamp)When the error occurred.
 
- 
- 
- 
Method Detail- 
codepublic WorkRequestError.Builder code(String code) A machine-usable code for the error that occurred.Error codes are listed at (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) - Parameters:
- code- the value to set
- Returns:
- this builder
 
 - 
messagepublic WorkRequestError.Builder message(String message) A human-readable description of the issue.- Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
timeStamppublic WorkRequestError.Builder timeStamp(Date timeStamp) When the error occurred.A date-time string as described in RFC 3339, section 14.29. - Parameters:
- timeStamp- the value to set
- Returns:
- this builder
 
 - 
buildpublic WorkRequestError build() 
 - 
copypublic WorkRequestError.Builder copy(WorkRequestError model) 
 
- 
 
-