Package com.oracle.bmc.waas.model
Class WorkRequestResource.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.WorkRequestResource.Builder
-
- Enclosing class:
- WorkRequestResource
public static class WorkRequestResource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkRequestResource.Builder
actionType(WorkRequestResource.ActionType actionType)
How the work request affects the resource.WorkRequestResource
build()
WorkRequestResource.Builder
copy(WorkRequestResource model)
WorkRequestResource.Builder
entityType(String entityType)
The resource type the work request affects.WorkRequestResource.Builder
entityUri(String entityUri)
The URI path used while performing a GET to access the resource metadata.WorkRequestResource.Builder
identifier(String identifier)
The OCID of the resource that the work request affects.
-
-
-
Method Detail
-
actionType
public WorkRequestResource.Builder actionType(WorkRequestResource.ActionType actionType)
How the work request affects the resource.- Parameters:
actionType
- the value to set- Returns:
- this builder
-
entityType
public WorkRequestResource.Builder entityType(String entityType)
The resource type the work request affects.- Parameters:
entityType
- the value to set- Returns:
- this builder
-
identifier
public WorkRequestResource.Builder identifier(String identifier)
The OCID of the resource that the work request affects.- Parameters:
identifier
- the value to set- Returns:
- this builder
-
entityUri
public WorkRequestResource.Builder entityUri(String entityUri)
The URI path used while performing a GET to access the resource metadata.- Parameters:
entityUri
- the value to set- Returns:
- this builder
-
build
public WorkRequestResource build()
-
copy
public WorkRequestResource.Builder copy(WorkRequestResource model)
-
-