JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elastictranscoder.model

Class InputCaptions

    • Constructor Detail

      • InputCaptions

        public InputCaptions()
    • Method Detail

      • setMergePolicy

        public void setMergePolicy(String mergePolicy)

        A policy that determines how Elastic Transcoder handles the existence of multiple captions.

        • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.

        • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.

        • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

        MergePolicy cannot be null.

        Parameters:
        mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple captions.

        • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.

        • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.

        • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

        MergePolicy cannot be null.

      • getMergePolicy

        public String getMergePolicy()

        A policy that determines how Elastic Transcoder handles the existence of multiple captions.

        • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.

        • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.

        • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

        MergePolicy cannot be null.

        Returns:
        A policy that determines how Elastic Transcoder handles the existence of multiple captions.

        • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.

        • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.

        • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

        MergePolicy cannot be null.

      • withMergePolicy

        public InputCaptions withMergePolicy(String mergePolicy)

        A policy that determines how Elastic Transcoder handles the existence of multiple captions.

        • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.

        • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.

        • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

        MergePolicy cannot be null.

        Parameters:
        mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple captions.

        • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.

        • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.

        • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

        MergePolicy cannot be null.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCaptionSources

        public List<CaptionSource> getCaptionSources()

        Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

        Returns:
        Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.
      • setCaptionSources

        public void setCaptionSources(Collection<CaptionSource> captionSources)

        Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

        Parameters:
        captionSources - Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.
      • withCaptionSources

        public InputCaptions withCaptionSources(CaptionSource... captionSources)

        Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

        NOTE: This method appends the values to the existing list (if any). Use setCaptionSources(java.util.Collection) or withCaptionSources(java.util.Collection) if you want to override the existing values.

        Parameters:
        captionSources - Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCaptionSources

        public InputCaptions withCaptionSources(Collection<CaptionSource> captionSources)

        Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

        Parameters:
        captionSources - Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /