public static class WorkRequestResource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequestResource.Builder |
actionType(WorkRequestResource.ActionType actionType)
The status of the work request.
|
WorkRequestResource |
build() |
WorkRequestResource.Builder |
copy(WorkRequestResource model) |
WorkRequestResource.Builder |
entityType(String entityType)
The resource type the work request affects.
|
WorkRequestResource.Builder |
entityUri(String entityUri)
The URI path that you can use for a GET request to access the resource metadata.
|
WorkRequestResource.Builder |
identifier(String identifier)
The resource type identifier.
|
WorkRequestResource.Builder |
metadata(Map<String,String> metadata)
The metadata of the resource.
|
public WorkRequestResource.Builder actionType(WorkRequestResource.ActionType actionType)
The status of the work request.
actionType
- the value to setpublic WorkRequestResource.Builder entityType(String entityType)
The resource type the work request affects.
entityType
- the value to setpublic WorkRequestResource.Builder identifier(String identifier)
The resource type identifier.
identifier
- the value to setpublic WorkRequestResource.Builder entityUri(String entityUri)
The URI path that you can use for a GET request to access the resource metadata.
entityUri
- the value to setpublic WorkRequestResource.Builder metadata(Map<String,String> metadata)
The metadata of the resource.
metadata
- the value to setpublic WorkRequestResource build()
public WorkRequestResource.Builder copy(WorkRequestResource model)
Copyright © 2016–2024. All rights reserved.