Class MediaWorkflowJob.Builder
- java.lang.Object
-
- com.oracle.bmc.mediaservices.model.MediaWorkflowJob.Builder
-
- Enclosing class:
- MediaWorkflowJob
public static class MediaWorkflowJob.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaWorkflowJob
build()
MediaWorkflowJob.Builder
compartmentId(String compartmentId)
Compartment Identifier.MediaWorkflowJob.Builder
copy(MediaWorkflowJob model)
MediaWorkflowJob.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.MediaWorkflowJob.Builder
displayName(String displayName)
Name of the Media Workflow Job.MediaWorkflowJob.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.MediaWorkflowJob.Builder
id(String id)
Unique identifier for this run of the workflow.MediaWorkflowJob.Builder
lifecycleDetails(String lifecycleDetails)
The lifecyle details.MediaWorkflowJob.Builder
lifecycleState(MediaWorkflowJob.LifecycleState lifecycleState)
The current state of the MediaWorkflowJob.MediaWorkflowJob.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.MediaWorkflowJob.Builder
mediaWorkflowConfigurationIds(List<String> mediaWorkflowConfigurationIds)
Configurations to be applied to this run of the workflow.MediaWorkflowJob.Builder
mediaWorkflowId(String mediaWorkflowId)
The workflow to execute.MediaWorkflowJob.Builder
outputs(List<JobOutput> outputs)
A list of JobOutput for the workflowJob.MediaWorkflowJob.Builder
parameters(Map<String,Object> parameters)
Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow’s MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob.MediaWorkflowJob.Builder
runnable(Map<String,Object> runnable)
A JSON representation of the job as it will be run by the system.MediaWorkflowJob.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.MediaWorkflowJob.Builder
taskLifecycleState(List<MediaWorkflowTaskState> taskLifecycleState)
Status of each task.MediaWorkflowJob.Builder
timeCreated(Date timeCreated)
Creation time of the job.MediaWorkflowJob.Builder
timeEnded(Date timeEnded)
Time when the job finished.MediaWorkflowJob.Builder
timeStarted(Date timeStarted)
Time when the job started to execute.MediaWorkflowJob.Builder
timeUpdated(Date timeUpdated)
Updated time of the job.
-
-
-
Method Detail
-
mediaWorkflowConfigurationIds
public MediaWorkflowJob.Builder mediaWorkflowConfigurationIds(List<String> mediaWorkflowConfigurationIds)
Configurations to be applied to this run of the workflow.- Parameters:
mediaWorkflowConfigurationIds
- the value to set- Returns:
- this builder
-
mediaWorkflowId
public MediaWorkflowJob.Builder mediaWorkflowId(String mediaWorkflowId)
The workflow to execute.- Parameters:
mediaWorkflowId
- the value to set- Returns:
- this builder
-
id
public MediaWorkflowJob.Builder id(String id)
Unique identifier for this run of the workflow.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public MediaWorkflowJob.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public MediaWorkflowJob.Builder displayName(String displayName)
Name of the Media Workflow Job.Does not have to be unique. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public MediaWorkflowJob.Builder lifecycleState(MediaWorkflowJob.LifecycleState lifecycleState)
The current state of the MediaWorkflowJob.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MediaWorkflowJob.Builder lifecycleDetails(String lifecycleDetails)
The lifecyle details.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
taskLifecycleState
public MediaWorkflowJob.Builder taskLifecycleState(List<MediaWorkflowTaskState> taskLifecycleState)
Status of each task.- Parameters:
taskLifecycleState
- the value to set- Returns:
- this builder
-
parameters
public MediaWorkflowJob.Builder parameters(Map<String,Object> parameters)
Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow’s MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob.The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task’s key and the 2nd level keys refer to a parameter’s name.
- Parameters:
parameters
- the value to set- Returns:
- this builder
-
timeCreated
public MediaWorkflowJob.Builder timeCreated(Date timeCreated)
Creation time of the job.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public MediaWorkflowJob.Builder timeUpdated(Date timeUpdated)
Updated time of the job.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
runnable
public MediaWorkflowJob.Builder runnable(Map<String,Object> runnable)
A JSON representation of the job as it will be run by the system.All the task declarations, configurations and parameters are merged. Parameter values are all fully resolved.
- Parameters:
runnable
- the value to set- Returns:
- this builder
-
outputs
public MediaWorkflowJob.Builder outputs(List<JobOutput> outputs)
A list of JobOutput for the workflowJob.- Parameters:
outputs
- the value to set- Returns:
- this builder
-
timeStarted
public MediaWorkflowJob.Builder timeStarted(Date timeStarted)
Time when the job started to execute.An RFC3339 formatted datetime string.
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public MediaWorkflowJob.Builder timeEnded(Date timeEnded)
Time when the job finished.An RFC3339 formatted datetime string.
- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
locks
public MediaWorkflowJob.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
freeformTags
public MediaWorkflowJob.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public MediaWorkflowJob.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public MediaWorkflowJob.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public MediaWorkflowJob build()
-
copy
public MediaWorkflowJob.Builder copy(MediaWorkflowJob model)
-
-