#[non_exhaustive]pub struct CreateDashManifestConfigurationBuilder { /* private fields */ }Expand description
A builder for CreateDashManifestConfiguration.
Implementations§
source§impl CreateDashManifestConfigurationBuilder
impl CreateDashManifestConfigurationBuilder
sourcepub fn manifest_name(self, input: impl Into<String>) -> Self
pub fn manifest_name(self, input: impl Into<String>) -> Self
A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint.
This field is required.sourcepub fn set_manifest_name(self, input: Option<String>) -> Self
pub fn set_manifest_name(self, input: Option<String>) -> Self
A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint.
sourcepub fn get_manifest_name(&self) -> &Option<String>
pub fn get_manifest_name(&self) -> &Option<String>
A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint.
sourcepub fn manifest_window_seconds(self, input: i32) -> Self
pub fn manifest_window_seconds(self, input: i32) -> Self
The total duration (in seconds) of the manifest's content.
sourcepub fn set_manifest_window_seconds(self, input: Option<i32>) -> Self
pub fn set_manifest_window_seconds(self, input: Option<i32>) -> Self
The total duration (in seconds) of the manifest's content.
sourcepub fn get_manifest_window_seconds(&self) -> &Option<i32>
pub fn get_manifest_window_seconds(&self) -> &Option<i32>
The total duration (in seconds) of the manifest's content.
sourcepub fn filter_configuration(self, input: FilterConfiguration) -> Self
pub fn filter_configuration(self, input: FilterConfiguration) -> Self
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
sourcepub fn set_filter_configuration(
self,
input: Option<FilterConfiguration>
) -> Self
pub fn set_filter_configuration( self, input: Option<FilterConfiguration> ) -> Self
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
sourcepub fn get_filter_configuration(&self) -> &Option<FilterConfiguration>
pub fn get_filter_configuration(&self) -> &Option<FilterConfiguration>
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
sourcepub fn min_update_period_seconds(self, input: i32) -> Self
pub fn min_update_period_seconds(self, input: i32) -> Self
Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
sourcepub fn set_min_update_period_seconds(self, input: Option<i32>) -> Self
pub fn set_min_update_period_seconds(self, input: Option<i32>) -> Self
Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
sourcepub fn get_min_update_period_seconds(&self) -> &Option<i32>
pub fn get_min_update_period_seconds(&self) -> &Option<i32>
Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
sourcepub fn min_buffer_time_seconds(self, input: i32) -> Self
pub fn min_buffer_time_seconds(self, input: i32) -> Self
Minimum amount of content (in seconds) that a player must keep available in the buffer.
sourcepub fn set_min_buffer_time_seconds(self, input: Option<i32>) -> Self
pub fn set_min_buffer_time_seconds(self, input: Option<i32>) -> Self
Minimum amount of content (in seconds) that a player must keep available in the buffer.
sourcepub fn get_min_buffer_time_seconds(&self) -> &Option<i32>
pub fn get_min_buffer_time_seconds(&self) -> &Option<i32>
Minimum amount of content (in seconds) that a player must keep available in the buffer.
sourcepub fn suggested_presentation_delay_seconds(self, input: i32) -> Self
pub fn suggested_presentation_delay_seconds(self, input: i32) -> Self
The amount of time (in seconds) that the player should be from the end of the manifest.
sourcepub fn set_suggested_presentation_delay_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_suggested_presentation_delay_seconds( self, input: Option<i32> ) -> Self
The amount of time (in seconds) that the player should be from the end of the manifest.
sourcepub fn get_suggested_presentation_delay_seconds(&self) -> &Option<i32>
pub fn get_suggested_presentation_delay_seconds(&self) -> &Option<i32>
The amount of time (in seconds) that the player should be from the end of the manifest.
sourcepub fn segment_template_format(self, input: DashSegmentTemplateFormat) -> Self
pub fn segment_template_format(self, input: DashSegmentTemplateFormat) -> Self
Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate.
Value description:
-
NUMBER_WITH_TIMELINE- The$Number$variable is used in themediaURL. The value of this variable is the sequential number of the segment. A fullSegmentTimelineobject is presented in eachSegmentTemplate.
sourcepub fn set_segment_template_format(
self,
input: Option<DashSegmentTemplateFormat>
) -> Self
pub fn set_segment_template_format( self, input: Option<DashSegmentTemplateFormat> ) -> Self
Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate.
Value description:
-
NUMBER_WITH_TIMELINE- The$Number$variable is used in themediaURL. The value of this variable is the sequential number of the segment. A fullSegmentTimelineobject is presented in eachSegmentTemplate.
sourcepub fn get_segment_template_format(&self) -> &Option<DashSegmentTemplateFormat>
pub fn get_segment_template_format(&self) -> &Option<DashSegmentTemplateFormat>
Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate.
Value description:
-
NUMBER_WITH_TIMELINE- The$Number$variable is used in themediaURL. The value of this variable is the sequential number of the segment. A fullSegmentTimelineobject is presented in eachSegmentTemplate.
sourcepub fn period_triggers(self, input: DashPeriodTrigger) -> Self
pub fn period_triggers(self, input: DashPeriodTrigger) -> Self
Appends an item to period_triggers.
To override the contents of this collection use set_period_triggers.
A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.
sourcepub fn set_period_triggers(self, input: Option<Vec<DashPeriodTrigger>>) -> Self
pub fn set_period_triggers(self, input: Option<Vec<DashPeriodTrigger>>) -> Self
A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.
sourcepub fn get_period_triggers(&self) -> &Option<Vec<DashPeriodTrigger>>
pub fn get_period_triggers(&self) -> &Option<Vec<DashPeriodTrigger>>
A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.
sourcepub fn set_scte_dash(self, input: Option<ScteDash>) -> Self
pub fn set_scte_dash(self, input: Option<ScteDash>) -> Self
The SCTE configuration.
sourcepub fn get_scte_dash(&self) -> &Option<ScteDash>
pub fn get_scte_dash(&self) -> &Option<ScteDash>
The SCTE configuration.
sourcepub fn drm_signaling(self, input: DashDrmSignaling) -> Self
pub fn drm_signaling(self, input: DashDrmSignaling) -> Self
Determines how the DASH manifest signals the DRM content.
sourcepub fn set_drm_signaling(self, input: Option<DashDrmSignaling>) -> Self
pub fn set_drm_signaling(self, input: Option<DashDrmSignaling>) -> Self
Determines how the DASH manifest signals the DRM content.
sourcepub fn get_drm_signaling(&self) -> &Option<DashDrmSignaling>
pub fn get_drm_signaling(&self) -> &Option<DashDrmSignaling>
Determines how the DASH manifest signals the DRM content.
sourcepub fn utc_timing(self, input: DashUtcTiming) -> Self
pub fn utc_timing(self, input: DashUtcTiming) -> Self
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
sourcepub fn set_utc_timing(self, input: Option<DashUtcTiming>) -> Self
pub fn set_utc_timing(self, input: Option<DashUtcTiming>) -> Self
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
sourcepub fn get_utc_timing(&self) -> &Option<DashUtcTiming>
pub fn get_utc_timing(&self) -> &Option<DashUtcTiming>
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
sourcepub fn build(self) -> Result<CreateDashManifestConfiguration, BuildError>
pub fn build(self) -> Result<CreateDashManifestConfiguration, BuildError>
Consumes the builder and constructs a CreateDashManifestConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateDashManifestConfigurationBuilder
impl Clone for CreateDashManifestConfigurationBuilder
source§fn clone(&self) -> CreateDashManifestConfigurationBuilder
fn clone(&self) -> CreateDashManifestConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDashManifestConfigurationBuilder
impl Default for CreateDashManifestConfigurationBuilder
source§fn default() -> CreateDashManifestConfigurationBuilder
fn default() -> CreateDashManifestConfigurationBuilder
source§impl PartialEq for CreateDashManifestConfigurationBuilder
impl PartialEq for CreateDashManifestConfigurationBuilder
source§fn eq(&self, other: &CreateDashManifestConfigurationBuilder) -> bool
fn eq(&self, other: &CreateDashManifestConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDashManifestConfigurationBuilder
Auto Trait Implementations§
impl Freeze for CreateDashManifestConfigurationBuilder
impl RefUnwindSafe for CreateDashManifestConfigurationBuilder
impl Send for CreateDashManifestConfigurationBuilder
impl Sync for CreateDashManifestConfigurationBuilder
impl Unpin for CreateDashManifestConfigurationBuilder
impl UnwindSafe for CreateDashManifestConfigurationBuilder
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