Struct aws_sdk_mediapackagev2::types::builders::CreateLowLatencyHlsManifestConfigurationBuilder
source · #[non_exhaustive]pub struct CreateLowLatencyHlsManifestConfigurationBuilder { /* private fields */ }Expand description
A builder for CreateLowLatencyHlsManifestConfiguration.
Implementations§
source§impl CreateLowLatencyHlsManifestConfigurationBuilder
impl CreateLowLatencyHlsManifestConfigurationBuilder
sourcepub fn manifest_name(self, input: impl Into<String>) -> Self
pub fn manifest_name(self, input: impl Into<String>) -> Self
A short 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. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
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 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. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
sourcepub fn get_manifest_name(&self) -> &Option<String>
pub fn get_manifest_name(&self) -> &Option<String>
A short 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. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
sourcepub fn child_manifest_name(self, input: impl Into<String>) -> Self
pub fn child_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. If you don't enter a value, MediaPackage uses the default manifest name, index, with an added suffix to distinguish it from the manifest name. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
sourcepub fn set_child_manifest_name(self, input: Option<String>) -> Self
pub fn set_child_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. If you don't enter a value, MediaPackage uses the default manifest name, index, with an added suffix to distinguish it from the manifest name. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
sourcepub fn get_child_manifest_name(&self) -> &Option<String>
pub fn get_child_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. If you don't enter a value, MediaPackage uses the default manifest name, index, with an added suffix to distinguish it from the manifest name. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
sourcepub fn set_scte_hls(self, input: Option<ScteHls>) -> Self
pub fn set_scte_hls(self, input: Option<ScteHls>) -> Self
The SCTE configuration.
sourcepub fn get_scte_hls(&self) -> &Option<ScteHls>
pub fn get_scte_hls(&self) -> &Option<ScteHls>
The SCTE configuration.
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 program_date_time_interval_seconds(self, input: i32) -> Self
pub fn program_date_time_interval_seconds(self, input: i32) -> Self
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
sourcepub fn set_program_date_time_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_program_date_time_interval_seconds(self, input: Option<i32>) -> Self
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
sourcepub fn get_program_date_time_interval_seconds(&self) -> &Option<i32>
pub fn get_program_date_time_interval_seconds(&self) -> &Option<i32>
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
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 build(
self
) -> Result<CreateLowLatencyHlsManifestConfiguration, BuildError>
pub fn build( self ) -> Result<CreateLowLatencyHlsManifestConfiguration, BuildError>
Consumes the builder and constructs a CreateLowLatencyHlsManifestConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateLowLatencyHlsManifestConfigurationBuilder
impl Clone for CreateLowLatencyHlsManifestConfigurationBuilder
source§fn clone(&self) -> CreateLowLatencyHlsManifestConfigurationBuilder
fn clone(&self) -> CreateLowLatencyHlsManifestConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateLowLatencyHlsManifestConfigurationBuilder
impl Default for CreateLowLatencyHlsManifestConfigurationBuilder
source§fn default() -> CreateLowLatencyHlsManifestConfigurationBuilder
fn default() -> CreateLowLatencyHlsManifestConfigurationBuilder
source§impl PartialEq for CreateLowLatencyHlsManifestConfigurationBuilder
impl PartialEq for CreateLowLatencyHlsManifestConfigurationBuilder
source§fn eq(&self, other: &CreateLowLatencyHlsManifestConfigurationBuilder) -> bool
fn eq(&self, other: &CreateLowLatencyHlsManifestConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateLowLatencyHlsManifestConfigurationBuilder
Auto Trait Implementations§
impl Freeze for CreateLowLatencyHlsManifestConfigurationBuilder
impl RefUnwindSafe for CreateLowLatencyHlsManifestConfigurationBuilder
impl Send for CreateLowLatencyHlsManifestConfigurationBuilder
impl Sync for CreateLowLatencyHlsManifestConfigurationBuilder
impl Unpin for CreateLowLatencyHlsManifestConfigurationBuilder
impl UnwindSafe for CreateLowLatencyHlsManifestConfigurationBuilder
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