public class Captions extends Object implements Serializable
The captions to be created, if any.
Constructor and Description |
---|
Captions() |
Modifier and Type | Method and Description |
---|---|
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 String getMergePolicy()
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
Override: Elastic Transcoder transcodes only
the sidecar captions that you specify in
CaptionSources
.
MergePolicy
cannot be null.
Constraints:
Pattern: (^MergeOverride$)|(^MergeRetain$)|(^Override$)
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
Override: Elastic Transcoder transcodes only
the sidecar captions that you specify in
CaptionSources
.
MergePolicy
cannot be null.
public void setMergePolicy(String mergePolicy)
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
Override: Elastic Transcoder transcodes only
the sidecar captions that you specify in
CaptionSources
.
MergePolicy
cannot be null.
Constraints:
Pattern: (^MergeOverride$)|(^MergeRetain$)|(^Override$)
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
Override: Elastic Transcoder transcodes only
the sidecar captions that you specify in
CaptionSources
.
MergePolicy
cannot be null.
public Captions withMergePolicy(String mergePolicy)
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
Override: Elastic Transcoder transcodes only
the sidecar captions that you specify in
CaptionSources
.
MergePolicy
cannot be null.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^MergeOverride$)|(^MergeRetain$)|(^Override$)
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
Override: Elastic Transcoder transcodes only
the sidecar captions that you specify in
CaptionSources
.
MergePolicy
cannot be null.
public List<CaptionSource> getCaptionSources()
CaptionSources
blank.
Constraints:
Length: 0 - 20
CaptionSources
blank.public void setCaptionSources(Collection<CaptionSource> captionSources)
CaptionSources
blank.
Constraints:
Length: 0 - 20
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)
CaptionSources
blank.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 20
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)
CaptionSources
blank.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 20
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()
Constraints:
Length: 0 - 4
public void setCaptionFormats(Collection<CaptionFormat> captionFormats)
Constraints:
Length: 0 - 4
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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4
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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4
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 Object
Object.toString()
Copyright © 2014. All rights reserved.