public static class WorkRequestSubResource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 entity
|
WorkRequestSubResource.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.
|
public WorkRequestSubResource.Builder entityName(String entityName)
The name of the subresource entity.
entityName
- the value to setpublic WorkRequestSubResource.Builder entityType(String entityType)
The resource type the work request affects.
entityType
- the value to setpublic 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.
actionType
- the value to setpublic WorkRequestSubResource.Builder identifier(String identifier)
The OCID or other unique identifier of the resource the work request affects.
identifier
- the value to setpublic WorkRequestSubResource.Builder entityUri(String entityUri)
The URI path that is used in a GET request to access the resource metadata.
entityUri
- the value to setpublic WorkRequestSubResource.Builder description(String description)
Description of the entity
description
- the value to setpublic WorkRequestSubResource build()
public WorkRequestSubResource.Builder copy(WorkRequestSubResource model)
Copyright © 2016–2024. All rights reserved.