Class WorkRequestSubResource.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.WorkRequestSubResource.Builder
-
- Enclosing class:
- WorkRequestSubResource
public static class WorkRequestSubResource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkRequestSubResource.Builder
actionType(WorkRequestResourceActionType actionType)
The way in which this resource is affected by the work tracked in the work request.WorkRequestSubResource
build()
WorkRequestSubResource.Builder
copy(WorkRequestSubResource model)
WorkRequestSubResource.Builder
description(String description)
Description of the entityWorkRequestSubResource.Builder
entityName(String entityName)
The name of the subresource entity.WorkRequestSubResource.Builder
entityType(String entityType)
The resource type the work request affects.WorkRequestSubResource.Builder
entityUri(String entityUri)
The URI path that is used in a GET request to access the resource metadata.WorkRequestSubResource.Builder
identifier(String identifier)
The OCID or other unique identifier of the resource the work request affects.
-
-
-
Method Detail
-
entityName
public WorkRequestSubResource.Builder entityName(String entityName)
The name of the subresource entity.- Parameters:
entityName
- the value to set- Returns:
- this builder
-
entityType
public WorkRequestSubResource.Builder entityType(String entityType)
The resource type the work request affects.- Parameters:
entityType
- the value to set- Returns:
- this builder
-
actionType
public WorkRequestSubResource.Builder actionType(WorkRequestResourceActionType actionType)
The way in which this resource is affected by the work tracked in 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 WorkRequestSubResource.Builder identifier(String identifier)
The OCID or other unique identifier of the resource the work request affects.- Parameters:
identifier
- the value to set- Returns:
- this builder
-
entityUri
public WorkRequestSubResource.Builder entityUri(String entityUri)
The URI path that is used in a GET request to access the resource metadata.- Parameters:
entityUri
- the value to set- Returns:
- this builder
-
description
public WorkRequestSubResource.Builder description(String description)
Description of the entity- Parameters:
description
- the value to set- Returns:
- this builder
-
build
public WorkRequestSubResource build()
-
copy
public WorkRequestSubResource.Builder copy(WorkRequestSubResource model)
-
-