public static class WorkRequestResource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequestResource.Builder |
actionType(WorkRequestResource.ActionType actionType)
The way in which this resource is affected by the work tracked in the work request.
|
WorkRequestResource |
build() |
WorkRequestResource.Builder |
copy(WorkRequestResource model) |
WorkRequestResource.Builder |
id(Long id)
The id of a work request resource object.
|
WorkRequestResource.Builder |
resourceId(String resourceId)
The id of the releated resource.
|
WorkRequestResource.Builder |
resourceType(String resourceType)
The type of resource.
|
WorkRequestResource.Builder |
resourceUri(String resourceUri)
The URI path that the user can use to get access to the resource metadata
|
WorkRequestResource.Builder |
workRequestid(String workRequestid)
The OCID of a work request.
|
public WorkRequestResource.Builder actionType(WorkRequestResource.ActionType actionType)
The way in which this resource is affected by the work tracked in the work request.
actionType
- the value to setpublic WorkRequestResource.Builder id(Long id)
The id of a work request resource object.
id
- the value to setpublic WorkRequestResource.Builder resourceId(String resourceId)
The id of the releated resource. See resourceType to identity the specific type of resource.
resourceId
- the value to setpublic WorkRequestResource.Builder resourceType(String resourceType)
The type of resource. See resourceId for the id of the specific resource.
resourceType
- the value to setpublic WorkRequestResource.Builder resourceUri(String resourceUri)
The URI path that the user can use to get access to the resource metadata
resourceUri
- the value to setpublic WorkRequestResource.Builder workRequestid(String workRequestid)
The OCID of a work request.
workRequestid
- the value to setpublic WorkRequestResource build()
public WorkRequestResource.Builder copy(WorkRequestResource model)
Copyright © 2016–2024. All rights reserved.