Struct aws_sdk_mediaconvert::types::builders::OutputBuilder
source · #[non_exhaustive]pub struct OutputBuilder { /* private fields */ }
Expand description
A builder for Output
.
Implementations§
source§impl OutputBuilder
impl OutputBuilder
sourcepub fn audio_descriptions(self, input: AudioDescription) -> Self
pub fn audio_descriptions(self, input: AudioDescription) -> Self
Appends an item to audio_descriptions
.
To override the contents of this collection use set_audio_descriptions
.
Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
sourcepub fn set_audio_descriptions(
self,
input: Option<Vec<AudioDescription>>
) -> Self
pub fn set_audio_descriptions( self, input: Option<Vec<AudioDescription>> ) -> Self
Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
sourcepub fn get_audio_descriptions(&self) -> &Option<Vec<AudioDescription>>
pub fn get_audio_descriptions(&self) -> &Option<Vec<AudioDescription>>
Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
Appends an item to caption_descriptions
.
To override the contents of this collection use set_caption_descriptions
.
Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
sourcepub fn container_settings(self, input: ContainerSettings) -> Self
pub fn container_settings(self, input: ContainerSettings) -> Self
Container specific settings.
sourcepub fn set_container_settings(self, input: Option<ContainerSettings>) -> Self
pub fn set_container_settings(self, input: Option<ContainerSettings>) -> Self
Container specific settings.
sourcepub fn get_container_settings(&self) -> &Option<ContainerSettings>
pub fn get_container_settings(&self) -> &Option<ContainerSettings>
Container specific settings.
sourcepub fn extension(self, input: impl Into<String>) -> Self
pub fn extension(self, input: impl Into<String>) -> Self
Use Extension to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)
sourcepub fn set_extension(self, input: Option<String>) -> Self
pub fn set_extension(self, input: Option<String>) -> Self
Use Extension to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)
sourcepub fn get_extension(&self) -> &Option<String>
pub fn get_extension(&self) -> &Option<String>
Use Extension to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)
sourcepub fn name_modifier(self, input: impl Into<String>) -> Self
pub fn name_modifier(self, input: impl Into<String>) -> Self
Use Name modifier to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group.
sourcepub fn set_name_modifier(self, input: Option<String>) -> Self
pub fn set_name_modifier(self, input: Option<String>) -> Self
Use Name modifier to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group.
sourcepub fn get_name_modifier(&self) -> &Option<String>
pub fn get_name_modifier(&self) -> &Option<String>
Use Name modifier to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group.
sourcepub fn output_settings(self, input: OutputSettings) -> Self
pub fn output_settings(self, input: OutputSettings) -> Self
Specific settings for this type of output.
sourcepub fn set_output_settings(self, input: Option<OutputSettings>) -> Self
pub fn set_output_settings(self, input: Option<OutputSettings>) -> Self
Specific settings for this type of output.
sourcepub fn get_output_settings(&self) -> &Option<OutputSettings>
pub fn get_output_settings(&self) -> &Option<OutputSettings>
Specific settings for this type of output.
sourcepub fn preset(self, input: impl Into<String>) -> Self
pub fn preset(self, input: impl Into<String>) -> Self
Use Preset to specify a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset or Container settings, but not both.
sourcepub fn set_preset(self, input: Option<String>) -> Self
pub fn set_preset(self, input: Option<String>) -> Self
Use Preset to specify a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset or Container settings, but not both.
sourcepub fn get_preset(&self) -> &Option<String>
pub fn get_preset(&self) -> &Option<String>
Use Preset to specify a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset or Container settings, but not both.
sourcepub fn video_description(self, input: VideoDescription) -> Self
pub fn video_description(self, input: VideoDescription) -> Self
VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
sourcepub fn set_video_description(self, input: Option<VideoDescription>) -> Self
pub fn set_video_description(self, input: Option<VideoDescription>) -> Self
VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
sourcepub fn get_video_description(&self) -> &Option<VideoDescription>
pub fn get_video_description(&self) -> &Option<VideoDescription>
VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
Trait Implementations§
source§impl Clone for OutputBuilder
impl Clone for OutputBuilder
source§fn clone(&self) -> OutputBuilder
fn clone(&self) -> OutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutputBuilder
impl Debug for OutputBuilder
source§impl Default for OutputBuilder
impl Default for OutputBuilder
source§fn default() -> OutputBuilder
fn default() -> OutputBuilder
source§impl PartialEq for OutputBuilder
impl PartialEq for OutputBuilder
source§fn eq(&self, other: &OutputBuilder) -> bool
fn eq(&self, other: &OutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutputBuilder
Auto Trait Implementations§
impl Freeze for OutputBuilder
impl RefUnwindSafe for OutputBuilder
impl Send for OutputBuilder
impl Sync for OutputBuilder
impl Unpin for OutputBuilder
impl UnwindSafe for OutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more