Struct aws_sdk_elastictranscoder::types::InputCaptions
source · #[non_exhaustive]pub struct InputCaptions { /* private fields */ }
Expand description
The captions to be created, if any.
Implementations§
source§impl InputCaptions
impl InputCaptions
sourcepub fn merge_policy(&self) -> Option<&str>
pub fn merge_policy(&self) -> Option<&str>
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.
sourcepub fn caption_sources(&self) -> Option<&[CaptionSource]>
pub fn caption_sources(&self) -> Option<&[CaptionSource]>
Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources
blank.
source§impl InputCaptions
impl InputCaptions
sourcepub fn builder() -> InputCaptionsBuilder
pub fn builder() -> InputCaptionsBuilder
Creates a new builder-style object to manufacture InputCaptions
.
Trait Implementations§
source§impl Clone for InputCaptions
impl Clone for InputCaptions
source§fn clone(&self) -> InputCaptions
fn clone(&self) -> InputCaptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InputCaptions
impl Debug for InputCaptions
source§impl PartialEq<InputCaptions> for InputCaptions
impl PartialEq<InputCaptions> for InputCaptions
source§fn eq(&self, other: &InputCaptions) -> bool
fn eq(&self, other: &InputCaptions) -> bool
self
and other
values to be equal, and is used
by ==
.