Class MediaWorkflowJob.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • lifecycleDetails

        public MediaWorkflowJob.Builder lifecycleDetails​(String lifecycleDetails)
        The lifecyle details.
        Parameters:
        lifecycleDetails - 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
      • 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
      • 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