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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
operationType
public WorkRequestSummary.Builder operationType(WorkRequest.OperationType operationType)
The type of the work request.- Parameters:
operationType- the value to set- Returns:
- this builder
-
status
public WorkRequestSummary.Builder status(WorkRequest.Status status)
The status of the work request.- Parameters:
status- the value to set- Returns:
- this builder
-
workRequestId
public WorkRequestSummary.Builder workRequestId(String workRequestId)
The OCID of the resource.- Parameters:
workRequestId- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
percentComplete
public WorkRequestSummary.Builder percentComplete(Float percentComplete)
Percentage of the request completed.- Parameters:
percentComplete- the value to set- Returns:
- this builder
-
timeAccepted
public 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
-
timeStarted
public 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
-
timeFinished
public 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
-
build
public WorkRequestSummary build()
-
copy
public WorkRequestSummary.Builder copy(WorkRequestSummary model)
-
-