Package com.oracle.bmc.psql.model
Class WorkRequestResource.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.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.BuilderactionType(ActionType actionType)The way in which this resource is affected by the work tracked in the work request.WorkRequestResourcebuild()WorkRequestResource.Buildercopy(WorkRequestResource model)WorkRequestResource.BuilderentityType(String entityType)The resource type that the work request affects.WorkRequestResource.BuilderentityUri(String entityUri)The URI path that the user can do a GET on to access the resource metadata.WorkRequestResource.Builderidentifier(String identifier)The identifier of the resource the work request affects.WorkRequestResource.Buildermetadata(Map<String,String> metadata)Additional information that helps to explain the resource.
-
-
-
Method Detail
-
entityType
public WorkRequestResource.Builder entityType(String entityType)
The resource type that the work request affects.- Parameters:
entityType- the value to set- Returns:
- this builder
-
actionType
public WorkRequestResource.Builder actionType(ActionType actionType)
The way in which this resource is affected by the work tracked in the work request.- Parameters:
actionType- the value to set- Returns:
- this builder
-
identifier
public WorkRequestResource.Builder identifier(String identifier)
The identifier of the resource the work request affects.- Parameters:
identifier- the value to set- Returns:
- this builder
-
entityUri
public WorkRequestResource.Builder entityUri(String entityUri)
The URI path that the user can do a GET on to access the resource metadata.- Parameters:
entityUri- the value to set- Returns:
- this builder
-
metadata
public WorkRequestResource.Builder metadata(Map<String,String> metadata)
Additional information that helps to explain the resource.- Parameters:
metadata- the value to set- Returns:
- this builder
-
build
public WorkRequestResource build()
-
copy
public WorkRequestResource.Builder copy(WorkRequestResource model)
-
-