Class VideoJob.Builder

  • Enclosing class:
    VideoJob

    public static class VideoJob.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public VideoJob.Builder id​(String id)
        Id of the job.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public VideoJob.Builder compartmentId​(String compartmentId)
        The ocid of the compartment that starts the job.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public VideoJob.Builder displayName​(String displayName)
        Video job display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • features

        public VideoJob.Builder features​(List<VideoFeature> features)
        a list of document analysis features.
        Parameters:
        features - the value to set
        Returns:
        this builder
      • timeAccepted

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

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

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

        public VideoJob.Builder percentComplete​(Float 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
      • lifecycleState

        public VideoJob.Builder lifecycleState​(VideoJob.LifecycleState lifecycleState)
        The current state of the batch document job.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public VideoJob.Builder lifecycleDetails​(VideoJob.LifecycleDetails lifecycleDetails)
        Detailed status of FAILED state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public VideoJob.Builder freeformTags​(Map<String,​String> freeformTags)
        A simple key-value pair that is applied without any predefined name, type, or scope.

        It exists for cross-compatibility only. For example: {“bar-key”: “value”}

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

        public VideoJob.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}

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

        public VideoJob.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. For example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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