#[non_exhaustive]pub struct GetHlsManifestConfigurationBuilder { /* private fields */ }Expand description
A builder for GetHlsManifestConfiguration.
Implementations§
source§impl GetHlsManifestConfigurationBuilder
impl GetHlsManifestConfigurationBuilder
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.
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 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.
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 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 child manifest name, index_1. 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 child manifest name, index_1. 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 child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
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 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 build(self) -> GetHlsManifestConfiguration
pub fn build(self) -> GetHlsManifestConfiguration
Consumes the builder and constructs a GetHlsManifestConfiguration.
Trait Implementations§
source§impl Clone for GetHlsManifestConfigurationBuilder
impl Clone for GetHlsManifestConfigurationBuilder
source§fn clone(&self) -> GetHlsManifestConfigurationBuilder
fn clone(&self) -> GetHlsManifestConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetHlsManifestConfigurationBuilder
impl Default for GetHlsManifestConfigurationBuilder
source§fn default() -> GetHlsManifestConfigurationBuilder
fn default() -> GetHlsManifestConfigurationBuilder
source§impl PartialEq for GetHlsManifestConfigurationBuilder
impl PartialEq for GetHlsManifestConfigurationBuilder
source§fn eq(&self, other: &GetHlsManifestConfigurationBuilder) -> bool
fn eq(&self, other: &GetHlsManifestConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.