Class WorkRequestResource.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiagent.model.WorkRequestResource.Builder
 
- 
- Enclosing class:
- WorkRequestResource
 
 public static class WorkRequestResource.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkRequestResource.BuilderactionType(ActionType actionType)The way in which this resource is affected by the operation 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 you can use for a GET request to access the resource metadata.WorkRequestResource.Builderidentifier(String identifier)An OCID or other unique identifier for the resource.WorkRequestResource.Buildermetadata(Map<String,String> metadata)Additional information that helps to explain the resource.
 
- 
- 
- 
Method Detail- 
entityTypepublic WorkRequestResource.Builder entityType(String entityType) The resource type that the work request affects.- Parameters:
- entityType- the value to set
- Returns:
- this builder
 
 - 
actionTypepublic WorkRequestResource.Builder actionType(ActionType actionType) The way in which this resource is affected by the operation tracked in the work request.A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively. - Parameters:
- actionType- the value to set
- Returns:
- this builder
 
 - 
identifierpublic WorkRequestResource.Builder identifier(String identifier) An OCID or other unique identifier for the resource.- Parameters:
- identifier- the value to set
- Returns:
- this builder
 
 - 
entityUripublic WorkRequestResource.Builder entityUri(String entityUri) The URI path that you can use for a GET request to access the resource metadata.- Parameters:
- entityUri- the value to set
- Returns:
- this builder
 
 - 
metadatapublic WorkRequestResource.Builder metadata(Map<String,String> metadata) Additional information that helps to explain the resource.- Parameters:
- metadata- the value to set
- Returns:
- this builder
 
 - 
buildpublic WorkRequestResource build() 
 - 
copypublic WorkRequestResource.Builder copy(WorkRequestResource model) 
 
- 
 
-