Package com.oracle.bmc.apigateway.model
Class WorkRequestSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.WorkRequestSummary.Builder
 
- 
- Enclosing class:
- WorkRequestSummary
 
 public static class WorkRequestSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkRequestSummarybuild()WorkRequestSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the resource is created.WorkRequestSummary.Buildercopy(WorkRequestSummary model)WorkRequestSummary.BuilderoperationType(WorkRequest.OperationType operationType)The type of the work request.WorkRequestSummary.BuilderpercentComplete(Float percentComplete)Percentage of the request completed.WorkRequestSummary.Builderstatus(WorkRequest.Status status)The status of the work request.WorkRequestSummary.BuildertimeAccepted(Date timeAccepted)The date and time the request was created, as described in RFC 3339, section 14.29.WorkRequestSummary.BuildertimeFinished(Date timeFinished)The date and time the request was finished, as described in RFC 3339.WorkRequestSummary.BuildertimeStarted(Date timeStarted)The date and time the request was started, as described in RFC 3339, section 14.29.WorkRequestSummary.BuilderworkRequestId(String workRequestId)The OCID of the resource.
 
- 
- 
- 
Method Detail- 
operationTypepublic WorkRequestSummary.Builder operationType(WorkRequest.OperationType operationType) The type of the work request.- Parameters:
- operationType- the value to set
- Returns:
- this builder
 
 - 
statuspublic WorkRequestSummary.Builder status(WorkRequest.Status status) The status of the work request.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
workRequestIdpublic WorkRequestSummary.Builder workRequestId(String workRequestId) The OCID of the resource.- Parameters:
- workRequestId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic WorkRequestSummary.Builder compartmentId(String compartmentId) The OCID of the compartment in which the resource is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
percentCompletepublic WorkRequestSummary.Builder percentComplete(Float percentComplete) Percentage of the request completed.- Parameters:
- percentComplete- the value to set
- Returns:
- this builder
 
 - 
timeAcceptedpublic WorkRequestSummary.Builder timeAccepted(Date timeAccepted) The date and time the request was created, as described in RFC 3339, section 14.29.- Parameters:
- timeAccepted- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic WorkRequestSummary.Builder timeStarted(Date timeStarted) The date and time the request was started, as described in RFC 3339, section 14.29.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeFinishedpublic WorkRequestSummary.Builder timeFinished(Date timeFinished) The date and time the request was finished, as described in RFC 3339.- Parameters:
- timeFinished- the value to set
- Returns:
- this builder
 
 - 
buildpublic WorkRequestSummary build() 
 - 
copypublic WorkRequestSummary.Builder copy(WorkRequestSummary model) 
 
- 
 
-