Class TranscriptionJob.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public TranscriptionJob.Builder displayName​(String displayName)
        A user-friendly display name for the job.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public TranscriptionJob.Builder compartmentId​(String compartmentId)
        The OCID of the compartment where you want to create the job.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • description

        public TranscriptionJob.Builder description​(String description)
        A short description of the job.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeAccepted

        public TranscriptionJob.Builder timeAccepted​(Date timeAccepted)
        Job accepted time.
        Parameters:
        timeAccepted - the value to set
        Returns:
        this builder
      • timeStarted

        public TranscriptionJob.Builder timeStarted​(Date timeStarted)
        Job started time.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeFinished

        public TranscriptionJob.Builder timeFinished​(Date timeFinished)
        Job finished time.
        Parameters:
        timeFinished - the value to set
        Returns:
        this builder
      • totalTasks

        public TranscriptionJob.Builder totalTasks​(Integer totalTasks)
        Total tasks in a job.
        Parameters:
        totalTasks - the value to set
        Returns:
        this builder
      • outstandingTasks

        public TranscriptionJob.Builder outstandingTasks​(Integer outstandingTasks)
        Total outstanding tasks in a job.
        Parameters:
        outstandingTasks - the value to set
        Returns:
        this builder
      • successfulTasks

        public TranscriptionJob.Builder successfulTasks​(Integer successfulTasks)
        Total successful tasks in a job.
        Parameters:
        successfulTasks - the value to set
        Returns:
        this builder
      • ttlInDays

        public TranscriptionJob.Builder ttlInDays​(Integer ttlInDays)
        Time to live duration in days for Job.

        Job will be available till max 90 days.

        Parameters:
        ttlInDays - the value to set
        Returns:
        this builder
      • percentComplete

        public TranscriptionJob.Builder percentComplete​(Integer percentComplete)
        How much progress the operation has made, vs the total amount of work that must be performed.
        Parameters:
        percentComplete - the value to set
        Returns:
        this builder
      • createdBy

        public TranscriptionJob.Builder createdBy​(String createdBy)
        The OCID of the user who created the job.
        Parameters:
        createdBy - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public TranscriptionJob.Builder lifecycleDetails​(String lifecycleDetails)
        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:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public TranscriptionJob.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 TranscriptionJob.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-1”: {“bar-key-1”: “value-1”, “bar-key-2”: “value-2”}, “foo-namespace-2”: {“bar-key-1”: “value-1”, “bar-key-2”: “value-2”}}.

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

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