public static class MediaWorkflowTaskDeclaration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public MediaWorkflowTaskDeclaration.Builder name(String name)
MediaWorkflowTaskDeclaration identifier. The name and version should be unique among MediaWorkflowTaskDeclarations.
name
- the value to setpublic 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.
version
- the value to setpublic 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.
parametersSchema
- the value to setpublic 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.
parametersSchemaAllowingReferences
- the value to setpublic MediaWorkflowTaskDeclaration.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic MediaWorkflowTaskDeclaration build()
public MediaWorkflowTaskDeclaration.Builder copy(MediaWorkflowTaskDeclaration model)
Copyright © 2016–2024. All rights reserved.