#[non_exhaustive]pub struct GetDashManifestConfigurationBuilder { /* private fields */ }Expand description
A builder for GetDashManifestConfiguration.
Implementations§
source§impl GetDashManifestConfigurationBuilder
impl GetDashManifestConfigurationBuilder
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 manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index.
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 manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index.
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 manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The egress domain URL for stream delivery from MediaPackage.
This field is required.sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The egress domain URL for stream delivery from MediaPackage.
sourcepub fn get_url(&self) -> &Option<String>
pub fn get_url(&self) -> &Option<String>
The egress domain URL for stream delivery from MediaPackage.
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. 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. 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. 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<GetDashManifestConfiguration, BuildError>
pub fn build(self) -> Result<GetDashManifestConfiguration, BuildError>
Consumes the builder and constructs a GetDashManifestConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetDashManifestConfigurationBuilder
impl Clone for GetDashManifestConfigurationBuilder
source§fn clone(&self) -> GetDashManifestConfigurationBuilder
fn clone(&self) -> GetDashManifestConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetDashManifestConfigurationBuilder
impl Default for GetDashManifestConfigurationBuilder
source§fn default() -> GetDashManifestConfigurationBuilder
fn default() -> GetDashManifestConfigurationBuilder
source§impl PartialEq for GetDashManifestConfigurationBuilder
impl PartialEq for GetDashManifestConfigurationBuilder
source§fn eq(&self, other: &GetDashManifestConfigurationBuilder) -> bool
fn eq(&self, other: &GetDashManifestConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetDashManifestConfigurationBuilder
Auto Trait Implementations§
impl Freeze for GetDashManifestConfigurationBuilder
impl RefUnwindSafe for GetDashManifestConfigurationBuilder
impl Send for GetDashManifestConfigurationBuilder
impl Sync for GetDashManifestConfigurationBuilder
impl Unpin for GetDashManifestConfigurationBuilder
impl UnwindSafe for GetDashManifestConfigurationBuilder
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