public static class WorkRequestResource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequestResource.Builder |
actionResult(WorkRequestActionResult actionResult)
The way in which this resource was affected by this work request.
|
WorkRequestResource |
build() |
WorkRequestResource.Builder |
copy(WorkRequestResource model) |
WorkRequestResource.Builder |
identifier(String identifier)
The OCID of the resource the work request is affecting.
|
WorkRequestResource.Builder |
metadata(Map<String,String> metadata)
Additional metadata of the resource.
|
WorkRequestResource.Builder |
resourceType(WorkRequestResourceType resourceType)
The type of the resource the work request is affecting.
|
WorkRequestResource.Builder |
resourceUri(String resourceUri)
The URI of the affected resource.
|
public WorkRequestResource.Builder actionResult(WorkRequestActionResult actionResult)
The way in which this resource was affected by this work request.
actionResult
- the value to setpublic WorkRequestResource.Builder resourceType(WorkRequestResourceType resourceType)
The type of the resource the work request is affecting.
resourceType
- the value to setpublic WorkRequestResource.Builder identifier(String identifier)
The OCID of the resource the work request is affecting.
identifier
- the value to setpublic WorkRequestResource.Builder resourceUri(String resourceUri)
The URI of the affected resource.
resourceUri
- the value to setpublic WorkRequestResource.Builder metadata(Map<String,String> metadata)
Additional metadata of the resource.
metadata
- the value to setpublic WorkRequestResource build()
public WorkRequestResource.Builder copy(WorkRequestResource model)
Copyright © 2016–2024. All rights reserved.