@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Captions extends Object implements Serializable, Cloneable, StructuredPojo
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()
Deprecated.
|
String |
getMergePolicy()
Deprecated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaptionFormats(Collection<CaptionFormat> captionFormats)
The array of file formats for the output captions.
|
void |
setCaptionSources(Collection<CaptionSource> captionSources)
Deprecated.
|
void |
setMergePolicy(String mergePolicy)
Deprecated.
|
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)
Deprecated.
|
Captions |
withCaptionSources(Collection<CaptionSource> captionSources)
Deprecated.
|
Captions |
withMergePolicy(String mergePolicy)
Deprecated.
|
@Deprecated 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.
@Deprecated 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.
@Deprecated 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.
@Deprecated 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.@Deprecated 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.@Deprecated 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.@Deprecated 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.