Class MediaWorkflowTaskDeclaration.Builder
- java.lang.Object
-
- com.oracle.bmc.mediaservices.model.MediaWorkflowTaskDeclaration.Builder
-
- Enclosing class:
- MediaWorkflowTaskDeclaration
public static class MediaWorkflowTaskDeclaration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaWorkflowTaskDeclaration
build()
MediaWorkflowTaskDeclaration.Builder
copy(MediaWorkflowTaskDeclaration model)
MediaWorkflowTaskDeclaration.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.MediaWorkflowTaskDeclaration.Builder
name(String name)
MediaWorkflowTaskDeclaration identifier.MediaWorkflowTaskDeclaration.Builder
parametersSchema(Map<String,Object> parametersSchema)
JSON schema specifying the parameters supported by this type of task.MediaWorkflowTaskDeclaration.Builder
parametersSchemaAllowingReferences(Map<String,Object> parametersSchemaAllowingReferences)
JSON schema similar to the parameterSchema, but permits parameter values to refer to other parameters using the ${/path/to/another/parmeter} syntax.MediaWorkflowTaskDeclaration.Builder
version(Integer version)
The version of MediaWorkflowTaskDeclaration, incremented whenever the team implementing the task processor modifies the JSON schema of this declaration’s definitions, parameters or list of required parameters.
-
-
-
Method Detail
-
name
public MediaWorkflowTaskDeclaration.Builder name(String name)
MediaWorkflowTaskDeclaration identifier.The name and version should be unique among MediaWorkflowTaskDeclarations.
- Parameters:
name
- the value to set- Returns:
- this builder
-
version
public MediaWorkflowTaskDeclaration.Builder version(Integer version)
The version of MediaWorkflowTaskDeclaration, incremented whenever the team implementing the task processor modifies the JSON schema of this declaration’s definitions, parameters or list of required parameters.- Parameters:
version
- the value to set- Returns:
- this builder
-
parametersSchema
public MediaWorkflowTaskDeclaration.Builder parametersSchema(Map<String,Object> parametersSchema)
JSON schema specifying the parameters supported by this type of task.This is used to validate tasks’ parameters when jobs are created.
- Parameters:
parametersSchema
- the value to set- Returns:
- this builder
-
parametersSchemaAllowingReferences
public MediaWorkflowTaskDeclaration.Builder parametersSchemaAllowingReferences(Map<String,Object> parametersSchemaAllowingReferences)
JSON schema similar to the parameterSchema, but permits parameter values to refer to other parameters using the ${/path/to/another/parmeter} syntax.This is used to validate task parameters when workflows are created.
- Parameters:
parametersSchemaAllowingReferences
- the value to set- Returns:
- this builder
-
locks
public MediaWorkflowTaskDeclaration.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public MediaWorkflowTaskDeclaration build()
-
copy
public MediaWorkflowTaskDeclaration.Builder copy(MediaWorkflowTaskDeclaration model)
-
-