Class MediaWorkflow.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public MediaWorkflow.Builder id​(String id)
        Unique identifier that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public MediaWorkflow.Builder displayName​(String displayName)
        Name of the Media Workflow.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public MediaWorkflow.Builder compartmentId​(String compartmentId)
        Compartment Identifier.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • tasks

        public MediaWorkflow.Builder tasks​(List<MediaWorkflowTask> tasks)
        The processing to be done in this workflow.

        Each key of the MediaWorkflowTasks in this array is unique within the array. The order of the items is preserved from the order of the tasks array in CreateMediaWorkflowDetails or UpdateMediaWorkflowDetails.

        Parameters:
        tasks - the value to set
        Returns:
        this builder
      • mediaWorkflowConfigurationIds

        public MediaWorkflow.Builder mediaWorkflowConfigurationIds​(List<String> mediaWorkflowConfigurationIds)
        Configurations to be applied to all the runs of this workflow.

        Parameters in these configurations are overridden by parameters in the MediaWorkflowConfigurations of the MediaWorkflowJob and the parameters of the MediaWorkflowJob. If the same parameter appears in multiple configurations, the values that appear in the configuration at the highest index will be used.

        Parameters:
        mediaWorkflowConfigurationIds - the value to set
        Returns:
        this builder
      • parameters

        public MediaWorkflow.Builder parameters​(Map<String,​Object> parameters)
        JSON object representing named parameters and their default values that can be referenced throughout this workflow.

        The values declared here can be overridden by the MediaWorkflowConfigurations or parameters supplied when creating MediaWorkflowJobs from this MediaWorkflow.

        Parameters:
        parameters - the value to set
        Returns:
        this builder
      • timeCreated

        public MediaWorkflow.Builder timeCreated​(Date timeCreated)
        The time when the MediaWorkflow was created.

        An RFC3339 formatted datetime string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public MediaWorkflow.Builder timeUpdated​(Date timeUpdated)
        The time when the MediaWorkflow was updated.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecyleDetails

        public MediaWorkflow.Builder lifecyleDetails​(String lifecyleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in Failed state.

        Parameters:
        lifecyleDetails - the value to set
        Returns:
        this builder
      • version

        public MediaWorkflow.Builder version​(Long version)
        The version of the MediaWorkflow.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • freeformTags

        public MediaWorkflow.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 MediaWorkflow.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 MediaWorkflow.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