Package com.oracle.bmc.dataflow.model
Class WorkRequestResource.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.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(WorkRequestResource.ActionType actionType)The way in which this resource is affected by the work tracked in the work request.WorkRequestResourcebuild()WorkRequestResource.Buildercopy(WorkRequestResource model)WorkRequestResource.Builderid(Long id)The id of a work request resource object.WorkRequestResource.BuilderresourceId(String resourceId)The id of the releated resource.WorkRequestResource.BuilderresourceType(String resourceType)The type of resource.WorkRequestResource.BuilderresourceUri(String resourceUri)The URI path that the user can use to get access to the resource metadataWorkRequestResource.BuilderworkRequestid(String workRequestid)The OCID of a work request.
-
-
-
Method Detail
-
actionType
public WorkRequestResource.Builder actionType(WorkRequestResource.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
-
id
public WorkRequestResource.Builder id(Long id)
The id of a work request resource object.- Parameters:
id- the value to set- Returns:
- this builder
-
resourceId
public WorkRequestResource.Builder resourceId(String resourceId)
The id of the releated resource.See resourceType to identity the specific type of resource.
- Parameters:
resourceId- the value to set- Returns:
- this builder
-
resourceType
public WorkRequestResource.Builder resourceType(String resourceType)
The type of resource.See resourceId for the id of the specific resource.
- Parameters:
resourceType- the value to set- Returns:
- this builder
-
resourceUri
public WorkRequestResource.Builder resourceUri(String resourceUri)
The URI path that the user can use to get access to the resource metadata- Parameters:
resourceUri- the value to set- Returns:
- this builder
-
workRequestid
public WorkRequestResource.Builder workRequestid(String workRequestid)
The OCID of a work request.- Parameters:
workRequestid- the value to set- Returns:
- this builder
-
build
public WorkRequestResource build()
-
copy
public WorkRequestResource.Builder copy(WorkRequestResource model)
-
-