Package com.oracle.bmc.jms.model
Class WorkRequestResource.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.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(ActionType actionType)
The way in which this resource was affected by the operation that spawned the work request.WorkRequestResource
build()
WorkRequestResource.Builder
copy(WorkRequestResource model)
WorkRequestResource.Builder
entityType(String entityType)
The resource type affected by the work request.WorkRequestResource.Builder
entityUri(String entityUri)
The URI path that the user can perform a GET operation to access the resource metadata.WorkRequestResource.Builder
identifier(String identifier)
An OCID or other unique identifier of the resource affected by the work request.
-
-
-
Method Detail
-
entityType
public WorkRequestResource.Builder entityType(String entityType)
The resource type affected by the work request.- Parameters:
entityType
- the value to set- Returns:
- this builder
-
actionType
public WorkRequestResource.Builder actionType(ActionType actionType)
The way in which this resource was affected by the operation that spawned the work request.A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively.
- Parameters:
actionType
- the value to set- Returns:
- this builder
-
identifier
public WorkRequestResource.Builder identifier(String identifier)
An OCID or other unique identifier of the resource affected by the work request.- Parameters:
identifier
- the value to set- Returns:
- this builder
-
entityUri
public WorkRequestResource.Builder entityUri(String entityUri)
The URI path that the user can perform a GET operation 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)
-
-