@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputCaptions extends Object implements Serializable, Cloneable, StructuredPojo
The captions to be created, if any.
Constructor and Description |
---|
InputCaptions() |
Modifier and Type | Method and Description |
---|---|
InputCaptions |
clone() |
boolean |
equals(Object obj) |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
InputCaptions |
withCaptionSources(CaptionSource... captionSources)
Source files for the input sidecar captions used during the transcoding process.
|
InputCaptions |
withCaptionSources(Collection<CaptionSource> captionSources)
Source files for the input sidecar captions used during the transcoding process.
|
InputCaptions |
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 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.
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 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.
captionSources
- Source files for the input sidecar captions used during the transcoding process. To omit all sidecar
captions, leave CaptionSources
blank.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.
captionSources
- Source files for the input sidecar captions used during the transcoding process. To omit all sidecar
captions, leave CaptionSources
blank.public String toString()
toString
in class Object
Object.toString()
public InputCaptions clone()
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.