#[non_exhaustive]pub struct CmafPackageCreateOrUpdateParametersBuilder { /* private fields */ }
Expand description
A builder for CmafPackageCreateOrUpdateParameters
.
Implementations§
source§impl CmafPackageCreateOrUpdateParametersBuilder
impl CmafPackageCreateOrUpdateParametersBuilder
sourcepub fn encryption(self, input: CmafEncryption) -> Self
pub fn encryption(self, input: CmafEncryption) -> Self
A Common Media Application Format (CMAF) encryption configuration.
sourcepub fn set_encryption(self, input: Option<CmafEncryption>) -> Self
pub fn set_encryption(self, input: Option<CmafEncryption>) -> Self
A Common Media Application Format (CMAF) encryption configuration.
sourcepub fn get_encryption(&self) -> &Option<CmafEncryption>
pub fn get_encryption(&self) -> &Option<CmafEncryption>
A Common Media Application Format (CMAF) encryption configuration.
sourcepub fn hls_manifests(self, input: HlsManifestCreateOrUpdateParameters) -> Self
pub fn hls_manifests(self, input: HlsManifestCreateOrUpdateParameters) -> 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<HlsManifestCreateOrUpdateParameters>>
) -> Self
pub fn set_hls_manifests( self, input: Option<Vec<HlsManifestCreateOrUpdateParameters>> ) -> Self
A list of HLS manifest configurations
sourcepub fn get_hls_manifests(
&self
) -> &Option<Vec<HlsManifestCreateOrUpdateParameters>>
pub fn get_hls_manifests( &self ) -> &Option<Vec<HlsManifestCreateOrUpdateParameters>>
A list of HLS manifest configurations
sourcepub fn segment_duration_seconds(self, input: i32) -> Self
pub fn segment_duration_seconds(self, input: i32) -> Self
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment 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 segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
sourcepub fn get_segment_duration_seconds(&self) -> &Option<i32>
pub fn get_segment_duration_seconds(&self) -> &Option<i32>
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
sourcepub fn segment_prefix(self, input: impl Into<String>) -> Self
pub fn segment_prefix(self, input: impl Into<String>) -> Self
An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
sourcepub fn set_segment_prefix(self, input: Option<String>) -> Self
pub fn set_segment_prefix(self, input: Option<String>) -> Self
An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
sourcepub fn get_segment_prefix(&self) -> &Option<String>
pub fn get_segment_prefix(&self) -> &Option<String>
An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
sourcepub fn stream_selection(self, input: StreamSelection) -> Self
pub fn stream_selection(self, input: StreamSelection) -> Self
A StreamSelection configuration.
sourcepub fn set_stream_selection(self, input: Option<StreamSelection>) -> Self
pub fn set_stream_selection(self, input: Option<StreamSelection>) -> Self
A StreamSelection configuration.
sourcepub fn get_stream_selection(&self) -> &Option<StreamSelection>
pub fn get_stream_selection(&self) -> &Option<StreamSelection>
A StreamSelection configuration.
sourcepub fn build(self) -> CmafPackageCreateOrUpdateParameters
pub fn build(self) -> CmafPackageCreateOrUpdateParameters
Consumes the builder and constructs a CmafPackageCreateOrUpdateParameters
.
Trait Implementations§
source§impl Clone for CmafPackageCreateOrUpdateParametersBuilder
impl Clone for CmafPackageCreateOrUpdateParametersBuilder
source§fn clone(&self) -> CmafPackageCreateOrUpdateParametersBuilder
fn clone(&self) -> CmafPackageCreateOrUpdateParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CmafPackageCreateOrUpdateParametersBuilder
impl Default for CmafPackageCreateOrUpdateParametersBuilder
source§fn default() -> CmafPackageCreateOrUpdateParametersBuilder
fn default() -> CmafPackageCreateOrUpdateParametersBuilder
source§impl PartialEq for CmafPackageCreateOrUpdateParametersBuilder
impl PartialEq for CmafPackageCreateOrUpdateParametersBuilder
source§fn eq(&self, other: &CmafPackageCreateOrUpdateParametersBuilder) -> bool
fn eq(&self, other: &CmafPackageCreateOrUpdateParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.