Struct aws_sdk_mediapackagevod::types::builders::HlsPackageBuilder
source · #[non_exhaustive]pub struct HlsPackageBuilder { /* private fields */ }
Expand description
A builder for HlsPackage
.
Implementations§
source§impl HlsPackageBuilder
impl HlsPackageBuilder
sourcepub fn encryption(self, input: HlsEncryption) -> Self
pub fn encryption(self, input: HlsEncryption) -> Self
An HTTP Live Streaming (HLS) encryption configuration.
sourcepub fn set_encryption(self, input: Option<HlsEncryption>) -> Self
pub fn set_encryption(self, input: Option<HlsEncryption>) -> Self
An HTTP Live Streaming (HLS) encryption configuration.
sourcepub fn get_encryption(&self) -> &Option<HlsEncryption>
pub fn get_encryption(&self) -> &Option<HlsEncryption>
An HTTP Live Streaming (HLS) encryption configuration.
sourcepub fn hls_manifests(self, input: HlsManifest) -> Self
pub fn hls_manifests(self, input: HlsManifest) -> Self
Appends an item to hls_manifests
.
To override the contents of this collection use set_hls_manifests
.
A list of HLS manifest configurations.
sourcepub fn set_hls_manifests(self, input: Option<Vec<HlsManifest>>) -> Self
pub fn set_hls_manifests(self, input: Option<Vec<HlsManifest>>) -> Self
A list of HLS manifest configurations.
sourcepub fn get_hls_manifests(&self) -> &Option<Vec<HlsManifest>>
pub fn get_hls_manifests(&self) -> &Option<Vec<HlsManifest>>
A list of HLS manifest configurations.
sourcepub fn include_dvb_subtitles(self, input: bool) -> Self
pub fn include_dvb_subtitles(self, input: bool) -> Self
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
sourcepub fn set_include_dvb_subtitles(self, input: Option<bool>) -> Self
pub fn set_include_dvb_subtitles(self, input: Option<bool>) -> Self
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
sourcepub fn get_include_dvb_subtitles(&self) -> &Option<bool>
pub fn get_include_dvb_subtitles(&self) -> &Option<bool>
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
sourcepub fn segment_duration_seconds(self, input: i32) -> Self
pub fn segment_duration_seconds(self, input: i32) -> Self
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
sourcepub fn set_segment_duration_seconds(self, input: Option<i32>) -> Self
pub fn set_segment_duration_seconds(self, input: Option<i32>) -> Self
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
sourcepub fn get_segment_duration_seconds(&self) -> &Option<i32>
pub fn get_segment_duration_seconds(&self) -> &Option<i32>
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
sourcepub fn use_audio_rendition_group(self, input: bool) -> Self
pub fn use_audio_rendition_group(self, input: bool) -> Self
When enabled, audio streams will be placed in rendition groups in the output.
sourcepub fn set_use_audio_rendition_group(self, input: Option<bool>) -> Self
pub fn set_use_audio_rendition_group(self, input: Option<bool>) -> Self
When enabled, audio streams will be placed in rendition groups in the output.
sourcepub fn get_use_audio_rendition_group(&self) -> &Option<bool>
pub fn get_use_audio_rendition_group(&self) -> &Option<bool>
When enabled, audio streams will be placed in rendition groups in the output.
sourcepub fn build(self) -> HlsPackage
pub fn build(self) -> HlsPackage
Consumes the builder and constructs a HlsPackage
.
Trait Implementations§
source§impl Clone for HlsPackageBuilder
impl Clone for HlsPackageBuilder
source§fn clone(&self) -> HlsPackageBuilder
fn clone(&self) -> HlsPackageBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HlsPackageBuilder
impl Debug for HlsPackageBuilder
source§impl Default for HlsPackageBuilder
impl Default for HlsPackageBuilder
source§fn default() -> HlsPackageBuilder
fn default() -> HlsPackageBuilder
source§impl PartialEq for HlsPackageBuilder
impl PartialEq for HlsPackageBuilder
source§fn eq(&self, other: &HlsPackageBuilder) -> bool
fn eq(&self, other: &HlsPackageBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HlsPackageBuilder
Auto Trait Implementations§
impl Freeze for HlsPackageBuilder
impl RefUnwindSafe for HlsPackageBuilder
impl Send for HlsPackageBuilder
impl Sync for HlsPackageBuilder
impl Unpin for HlsPackageBuilder
impl UnwindSafe for HlsPackageBuilder
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