Class MediaWorkflowJob.Builder
- java.lang.Object
- 
- com.oracle.bmc.mediaservices.model.MediaWorkflowJob.Builder
 
- 
- Enclosing class:
- MediaWorkflowJob
 
 public static class MediaWorkflowJob.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaWorkflowJobbuild()MediaWorkflowJob.BuildercompartmentId(String compartmentId)Compartment Identifier.MediaWorkflowJob.Buildercopy(MediaWorkflowJob model)MediaWorkflowJob.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MediaWorkflowJob.BuilderdisplayName(String displayName)Name of the Media Workflow Job.MediaWorkflowJob.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MediaWorkflowJob.Builderid(String id)Unique identifier for this run of the workflow.MediaWorkflowJob.BuilderlifecycleDetails(String lifecycleDetails)The lifecyle details.MediaWorkflowJob.BuilderlifecycleState(MediaWorkflowJob.LifecycleState lifecycleState)The current state of the MediaWorkflowJob.MediaWorkflowJob.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.MediaWorkflowJob.BuildermediaWorkflowConfigurationIds(List<String> mediaWorkflowConfigurationIds)Configurations to be applied to this run of the workflow.MediaWorkflowJob.BuildermediaWorkflowId(String mediaWorkflowId)The workflow to execute.MediaWorkflowJob.Builderoutputs(List<JobOutput> outputs)A list of JobOutput for the workflowJob.MediaWorkflowJob.Builderparameters(Map<String,Object> parameters)Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow’s MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob.MediaWorkflowJob.Builderrunnable(Map<String,Object> runnable)A JSON representation of the job as it will be run by the system.MediaWorkflowJob.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MediaWorkflowJob.BuildertaskLifecycleState(List<MediaWorkflowTaskState> taskLifecycleState)Status of each task.MediaWorkflowJob.BuildertimeCreated(Date timeCreated)Creation time of the job.MediaWorkflowJob.BuildertimeEnded(Date timeEnded)Time when the job finished.MediaWorkflowJob.BuildertimeStarted(Date timeStarted)Time when the job started to execute.MediaWorkflowJob.BuildertimeUpdated(Date timeUpdated)Updated time of the job.
 
- 
- 
- 
Method Detail- 
mediaWorkflowConfigurationIdspublic 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
 
 - 
mediaWorkflowIdpublic MediaWorkflowJob.Builder mediaWorkflowId(String mediaWorkflowId) The workflow to execute.- Parameters:
- mediaWorkflowId- the value to set
- Returns:
- this builder
 
 - 
idpublic MediaWorkflowJob.Builder id(String id) Unique identifier for this run of the workflow.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic MediaWorkflowJob.Builder compartmentId(String compartmentId) Compartment Identifier.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
lifecycleStatepublic MediaWorkflowJob.Builder lifecycleState(MediaWorkflowJob.LifecycleState lifecycleState) The current state of the MediaWorkflowJob.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic MediaWorkflowJob.Builder lifecycleDetails(String lifecycleDetails) The lifecyle details.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
taskLifecycleStatepublic MediaWorkflowJob.Builder taskLifecycleState(List<MediaWorkflowTaskState> taskLifecycleState) Status of each task.- Parameters:
- taskLifecycleState- the value to set
- Returns:
- this builder
 
 - 
parameterspublic 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
 
 - 
timeCreatedpublic MediaWorkflowJob.Builder timeCreated(Date timeCreated) Creation time of the job.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic MediaWorkflowJob.Builder timeUpdated(Date timeUpdated) Updated time of the job.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
runnablepublic 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
 
 - 
outputspublic MediaWorkflowJob.Builder outputs(List<JobOutput> outputs) A list of JobOutput for the workflowJob.- Parameters:
- outputs- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic 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
 
 - 
timeEndedpublic MediaWorkflowJob.Builder timeEnded(Date timeEnded) Time when the job finished.An RFC3339 formatted datetime string. - Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
lockspublic MediaWorkflowJob.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic MediaWorkflowJob build() 
 - 
copypublic MediaWorkflowJob.Builder copy(MediaWorkflowJob model) 
 
- 
 
-