public static class WorkRequestSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequestSummary |
build() |
WorkRequestSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that contains the work request.
|
WorkRequestSummary.Builder |
copy(WorkRequestSummary model) |
WorkRequestSummary.Builder |
id(String id)
The OCID of the
work request.
|
WorkRequestSummary.Builder |
operationType(WorkRequestOperationTypes operationType)
A description of the operation requested by the work request.
|
WorkRequestSummary.Builder |
percentComplete(Integer percentComplete)
The percentage of work completed by the work request.
|
WorkRequestSummary.Builder |
resources(List<WorkRequestResource> resources)
The resources being used to complete the work request operation.
|
WorkRequestSummary.Builder |
status(WorkRequestStatusValues status)
The current status of the work request.
|
WorkRequestSummary.Builder |
timeAccepted(Date timeAccepted)
The date and time the work request was created, expressed in RFC 3339 timestamp format.
|
WorkRequestSummary.Builder |
timeFinished(Date timeFinished)
The date and time the work request was fulfilled or terminated, in the format defined by
RFC3339.
|
WorkRequestSummary.Builder |
timeStarted(Date timeStarted)
The date and time the work request moved from the
ACCEPTED state to the IN_PROGRESS state, expressed in RFC 3339 timestamp format. |
public WorkRequestSummary.Builder id(String id)
The OCID of the work request.
id
- the value to setpublic WorkRequestSummary.Builder operationType(WorkRequestOperationTypes operationType)
A description of the operation requested by the work request.
operationType
- the value to setpublic WorkRequestSummary.Builder status(WorkRequestStatusValues status)
The current status of the work request.
status
- the value to setpublic WorkRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the work request.
compartmentId
- the value to setpublic WorkRequestSummary.Builder resources(List<WorkRequestResource> resources)
The resources being used to complete the work request operation.
resources
- the value to setpublic WorkRequestSummary.Builder percentComplete(Integer percentComplete)
The percentage of work completed by the work request.
percentComplete
- the value to setpublic WorkRequestSummary.Builder timeAccepted(Date timeAccepted)
The date and time the work request was created, expressed in RFC 3339 timestamp format.
timeAccepted
- the value to setpublic WorkRequestSummary.Builder timeStarted(Date timeStarted)
The date and time the work request moved from the ACCEPTED
state to the IN_PROGRESS
state, expressed in RFC 3339 timestamp format.
timeStarted
- the value to setpublic WorkRequestSummary.Builder timeFinished(Date timeFinished)
The date and time the work request was fulfilled or terminated, in the format defined by RFC3339.
timeFinished
- the value to setpublic WorkRequestSummary build()
public WorkRequestSummary.Builder copy(WorkRequestSummary model)
Copyright © 2016–2024. All rights reserved.