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 identifier of the compartment that contains the work request.
|
WorkRequestSummary.Builder |
copy(WorkRequestSummary model) |
WorkRequestSummary.Builder |
id(String id)
The identifier of the work request.
|
WorkRequestSummary.Builder |
odaInstanceId(String odaInstanceId)
The identifier of the Digital Assistant instance to which this work request pertains.
|
WorkRequestSummary.Builder |
requestAction(WorkRequestSummary.RequestAction requestAction)
The type of the operation that’s associated with the work request.
|
WorkRequestSummary.Builder |
resourceId(String resourceId)
The identifier of the resource to which this work request pertains.
|
WorkRequestSummary.Builder |
resources(List<WorkRequestResource> resources)
The resources that this work request affects.
|
WorkRequestSummary.Builder |
status(WorkRequestSummary.Status status)
The status of current work request.
|
public WorkRequestSummary.Builder id(String id)
The identifier of the work request.
id
- the value to setpublic WorkRequestSummary.Builder compartmentId(String compartmentId)
The identifier of the compartment that contains the work request.
compartmentId
- the value to setpublic WorkRequestSummary.Builder odaInstanceId(String odaInstanceId)
The identifier of the Digital Assistant instance to which this work request pertains.
odaInstanceId
- the value to setpublic WorkRequestSummary.Builder resourceId(String resourceId)
The identifier of the resource to which this work request pertains.
resourceId
- the value to setpublic WorkRequestSummary.Builder requestAction(WorkRequestSummary.RequestAction requestAction)
The type of the operation that’s associated with the work request.
requestAction
- the value to setpublic WorkRequestSummary.Builder status(WorkRequestSummary.Status status)
The status of current work request.
status
- the value to setpublic WorkRequestSummary.Builder resources(List<WorkRequestResource> resources)
The resources that this work request affects.
resources
- the value to setpublic WorkRequestSummary build()
public WorkRequestSummary.Builder copy(WorkRequestSummary model)
Copyright © 2016–2024. All rights reserved.