public class Captions extends Object implements Serializable, Cloneable
The captions to be created, if any.
| Constructor and Description | 
|---|
| Captions() | 
| Modifier and Type | Method and Description | 
|---|---|
| Captions | clone() | 
| boolean | equals(Object obj) | 
| List<CaptionFormat> | getCaptionFormats()
 The array of file formats for the output captions. | 
| List<CaptionSource> | getCaptionSources()
 Source files for the input sidecar captions used during the transcoding
 process. | 
| String | getMergePolicy()
 A policy that determines how Elastic Transcoder handles the existence of
 multiple captions. | 
| int | hashCode() | 
| void | setCaptionFormats(Collection<CaptionFormat> captionFormats)
 The array of file formats for the output captions. | 
| void | setCaptionSources(Collection<CaptionSource> captionSources)
 Source files for the input sidecar captions used during the transcoding
 process. | 
| void | setMergePolicy(String mergePolicy)
 A policy that determines how Elastic Transcoder handles the existence of
 multiple captions. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| Captions | withCaptionFormats(CaptionFormat... captionFormats)
 The array of file formats for the output captions. | 
| Captions | withCaptionFormats(Collection<CaptionFormat> captionFormats)
 The array of file formats for the output captions. | 
| Captions | withCaptionSources(CaptionSource... captionSources)
 Source files for the input sidecar captions used during the transcoding
 process. | 
| Captions | withCaptionSources(Collection<CaptionSource> captionSources)
 Source files for the input sidecar captions used during the transcoding
 process. | 
| Captions | withMergePolicy(String mergePolicy)
 A policy that determines how Elastic Transcoder handles the existence of
 multiple captions. | 
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.
 
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.
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.
 
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.
public Captions 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.
 
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.
public List<CaptionSource> getCaptionSources()
 Source files for the input sidecar captions used during the transcoding
 process. To omit all sidecar captions, leave CaptionSources
 blank.
 
CaptionSources blank.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.
 
captionSources - Source files for the input sidecar captions used during the
        transcoding process. To omit all sidecar captions, leave
        CaptionSources blank.public Captions 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.
 
captionSources - Source files for the input sidecar captions used during the
        transcoding process. To omit all sidecar captions, leave
        CaptionSources blank.public Captions withCaptionSources(Collection<CaptionSource> captionSources)
 Source files for the input sidecar captions used during the transcoding
 process. To omit all sidecar captions, leave CaptionSources
 blank.
 
captionSources - Source files for the input sidecar captions used during the
        transcoding process. To omit all sidecar captions, leave
        CaptionSources blank.public List<CaptionFormat> getCaptionFormats()
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
public void setCaptionFormats(Collection<CaptionFormat> captionFormats)
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
captionFormats - The array of file formats for the output captions. If you leave
        this value blank, Elastic Transcoder returns an error.public Captions withCaptionFormats(CaptionFormat... captionFormats)
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
 NOTE: This method appends the values to the existing list (if
 any). Use setCaptionFormats(java.util.Collection) or
 withCaptionFormats(java.util.Collection) if you want to override
 the existing values.
 
captionFormats - The array of file formats for the output captions. If you leave
        this value blank, Elastic Transcoder returns an error.public Captions withCaptionFormats(Collection<CaptionFormat> captionFormats)
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
captionFormats - The array of file formats for the output captions. If you leave
        this value blank, Elastic Transcoder returns an error.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.