#[non_exhaustive]pub struct ContainerSettingsBuilder { /* private fields */ }
Expand description
A builder for ContainerSettings
.
Implementations§
source§impl ContainerSettingsBuilder
impl ContainerSettingsBuilder
sourcepub fn cmfc_settings(self, input: CmfcSettings) -> Self
pub fn cmfc_settings(self, input: CmfcSettings) -> Self
These settings relate to the fragmented MP4 container for the segments in your CMAF outputs.
sourcepub fn set_cmfc_settings(self, input: Option<CmfcSettings>) -> Self
pub fn set_cmfc_settings(self, input: Option<CmfcSettings>) -> Self
These settings relate to the fragmented MP4 container for the segments in your CMAF outputs.
sourcepub fn get_cmfc_settings(&self) -> &Option<CmfcSettings>
pub fn get_cmfc_settings(&self) -> &Option<CmfcSettings>
These settings relate to the fragmented MP4 container for the segments in your CMAF outputs.
sourcepub fn container(self, input: ContainerType) -> Self
pub fn container(self, input: ContainerType) -> Self
Container for this output. Some containers require a container settings object. If not specified, the default object will be created.
sourcepub fn set_container(self, input: Option<ContainerType>) -> Self
pub fn set_container(self, input: Option<ContainerType>) -> Self
Container for this output. Some containers require a container settings object. If not specified, the default object will be created.
sourcepub fn get_container(&self) -> &Option<ContainerType>
pub fn get_container(&self) -> &Option<ContainerType>
Container for this output. Some containers require a container settings object. If not specified, the default object will be created.
sourcepub fn f4v_settings(self, input: F4vSettings) -> Self
pub fn f4v_settings(self, input: F4vSettings) -> Self
Settings for F4v container
sourcepub fn set_f4v_settings(self, input: Option<F4vSettings>) -> Self
pub fn set_f4v_settings(self, input: Option<F4vSettings>) -> Self
Settings for F4v container
sourcepub fn get_f4v_settings(&self) -> &Option<F4vSettings>
pub fn get_f4v_settings(&self) -> &Option<F4vSettings>
Settings for F4v container
sourcepub fn m2ts_settings(self, input: M2tsSettings) -> Self
pub fn m2ts_settings(self, input: M2tsSettings) -> Self
MPEG-2 TS container settings. These apply to outputs in a File output group when the output’s container is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.
sourcepub fn set_m2ts_settings(self, input: Option<M2tsSettings>) -> Self
pub fn set_m2ts_settings(self, input: Option<M2tsSettings>) -> Self
MPEG-2 TS container settings. These apply to outputs in a File output group when the output’s container is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.
sourcepub fn get_m2ts_settings(&self) -> &Option<M2tsSettings>
pub fn get_m2ts_settings(&self) -> &Option<M2tsSettings>
MPEG-2 TS container settings. These apply to outputs in a File output group when the output’s container is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.
sourcepub fn m3u8_settings(self, input: M3u8Settings) -> Self
pub fn m3u8_settings(self, input: M3u8Settings) -> Self
These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.
sourcepub fn set_m3u8_settings(self, input: Option<M3u8Settings>) -> Self
pub fn set_m3u8_settings(self, input: Option<M3u8Settings>) -> Self
These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.
sourcepub fn get_m3u8_settings(&self) -> &Option<M3u8Settings>
pub fn get_m3u8_settings(&self) -> &Option<M3u8Settings>
These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.
sourcepub fn mov_settings(self, input: MovSettings) -> Self
pub fn mov_settings(self, input: MovSettings) -> Self
These settings relate to your QuickTime MOV output container.
sourcepub fn set_mov_settings(self, input: Option<MovSettings>) -> Self
pub fn set_mov_settings(self, input: Option<MovSettings>) -> Self
These settings relate to your QuickTime MOV output container.
sourcepub fn get_mov_settings(&self) -> &Option<MovSettings>
pub fn get_mov_settings(&self) -> &Option<MovSettings>
These settings relate to your QuickTime MOV output container.
sourcepub fn mp4_settings(self, input: Mp4Settings) -> Self
pub fn mp4_settings(self, input: Mp4Settings) -> Self
These settings relate to your MP4 output container. You can create audio only outputs with this container. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers-audio-only.html#output-codecs-and-containers-supported-for-audio-only.
sourcepub fn set_mp4_settings(self, input: Option<Mp4Settings>) -> Self
pub fn set_mp4_settings(self, input: Option<Mp4Settings>) -> Self
These settings relate to your MP4 output container. You can create audio only outputs with this container. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers-audio-only.html#output-codecs-and-containers-supported-for-audio-only.
sourcepub fn get_mp4_settings(&self) -> &Option<Mp4Settings>
pub fn get_mp4_settings(&self) -> &Option<Mp4Settings>
These settings relate to your MP4 output container. You can create audio only outputs with this container. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers-audio-only.html#output-codecs-and-containers-supported-for-audio-only.
sourcepub fn mpd_settings(self, input: MpdSettings) -> Self
pub fn mpd_settings(self, input: MpdSettings) -> Self
These settings relate to the fragmented MP4 container for the segments in your DASH outputs.
sourcepub fn set_mpd_settings(self, input: Option<MpdSettings>) -> Self
pub fn set_mpd_settings(self, input: Option<MpdSettings>) -> Self
These settings relate to the fragmented MP4 container for the segments in your DASH outputs.
sourcepub fn get_mpd_settings(&self) -> &Option<MpdSettings>
pub fn get_mpd_settings(&self) -> &Option<MpdSettings>
These settings relate to the fragmented MP4 container for the segments in your DASH outputs.
sourcepub fn mxf_settings(self, input: MxfSettings) -> Self
pub fn mxf_settings(self, input: MxfSettings) -> Self
These settings relate to your MXF output container.
sourcepub fn set_mxf_settings(self, input: Option<MxfSettings>) -> Self
pub fn set_mxf_settings(self, input: Option<MxfSettings>) -> Self
These settings relate to your MXF output container.
sourcepub fn get_mxf_settings(&self) -> &Option<MxfSettings>
pub fn get_mxf_settings(&self) -> &Option<MxfSettings>
These settings relate to your MXF output container.
sourcepub fn build(self) -> ContainerSettings
pub fn build(self) -> ContainerSettings
Consumes the builder and constructs a ContainerSettings
.
Trait Implementations§
source§impl Clone for ContainerSettingsBuilder
impl Clone for ContainerSettingsBuilder
source§fn clone(&self) -> ContainerSettingsBuilder
fn clone(&self) -> ContainerSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContainerSettingsBuilder
impl Debug for ContainerSettingsBuilder
source§impl Default for ContainerSettingsBuilder
impl Default for ContainerSettingsBuilder
source§fn default() -> ContainerSettingsBuilder
fn default() -> ContainerSettingsBuilder
source§impl PartialEq for ContainerSettingsBuilder
impl PartialEq for ContainerSettingsBuilder
source§fn eq(&self, other: &ContainerSettingsBuilder) -> bool
fn eq(&self, other: &ContainerSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerSettingsBuilder
Auto Trait Implementations§
impl Freeze for ContainerSettingsBuilder
impl RefUnwindSafe for ContainerSettingsBuilder
impl Send for ContainerSettingsBuilder
impl Sync for ContainerSettingsBuilder
impl Unpin for ContainerSettingsBuilder
impl UnwindSafe for ContainerSettingsBuilder
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