Struct aws_sdk_mediapackagevod::types::builders::MssPackageBuilder
source · #[non_exhaustive]pub struct MssPackageBuilder { /* private fields */ }
Expand description
A builder for MssPackage
.
Implementations§
source§impl MssPackageBuilder
impl MssPackageBuilder
sourcepub fn encryption(self, input: MssEncryption) -> Self
pub fn encryption(self, input: MssEncryption) -> Self
A Microsoft Smooth Streaming (MSS) encryption configuration.
sourcepub fn set_encryption(self, input: Option<MssEncryption>) -> Self
pub fn set_encryption(self, input: Option<MssEncryption>) -> Self
A Microsoft Smooth Streaming (MSS) encryption configuration.
sourcepub fn get_encryption(&self) -> &Option<MssEncryption>
pub fn get_encryption(&self) -> &Option<MssEncryption>
A Microsoft Smooth Streaming (MSS) encryption configuration.
sourcepub fn mss_manifests(self, input: MssManifest) -> Self
pub fn mss_manifests(self, input: MssManifest) -> Self
Appends an item to mss_manifests
.
To override the contents of this collection use set_mss_manifests
.
A list of MSS manifest configurations.
sourcepub fn set_mss_manifests(self, input: Option<Vec<MssManifest>>) -> Self
pub fn set_mss_manifests(self, input: Option<Vec<MssManifest>>) -> Self
A list of MSS manifest configurations.
sourcepub fn get_mss_manifests(&self) -> &Option<Vec<MssManifest>>
pub fn get_mss_manifests(&self) -> &Option<Vec<MssManifest>>
A list of MSS manifest configurations.
sourcepub fn segment_duration_seconds(self, input: i32) -> Self
pub fn segment_duration_seconds(self, input: i32) -> Self
The duration (in seconds) of each segment.
sourcepub fn set_segment_duration_seconds(self, input: Option<i32>) -> Self
pub fn set_segment_duration_seconds(self, input: Option<i32>) -> Self
The duration (in seconds) of each segment.
sourcepub fn get_segment_duration_seconds(&self) -> &Option<i32>
pub fn get_segment_duration_seconds(&self) -> &Option<i32>
The duration (in seconds) of each segment.
sourcepub fn build(self) -> MssPackage
pub fn build(self) -> MssPackage
Consumes the builder and constructs a MssPackage
.
Trait Implementations§
source§impl Clone for MssPackageBuilder
impl Clone for MssPackageBuilder
source§fn clone(&self) -> MssPackageBuilder
fn clone(&self) -> MssPackageBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MssPackageBuilder
impl Debug for MssPackageBuilder
source§impl Default for MssPackageBuilder
impl Default for MssPackageBuilder
source§fn default() -> MssPackageBuilder
fn default() -> MssPackageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MssPackageBuilder
impl PartialEq for MssPackageBuilder
source§fn eq(&self, other: &MssPackageBuilder) -> bool
fn eq(&self, other: &MssPackageBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MssPackageBuilder
Auto Trait Implementations§
impl Freeze for MssPackageBuilder
impl RefUnwindSafe for MssPackageBuilder
impl Send for MssPackageBuilder
impl Sync for MssPackageBuilder
impl Unpin for MssPackageBuilder
impl UnwindSafe for MssPackageBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.