#[non_exhaustive]pub struct CreateHlsManifestConfigurationBuilder { /* private fields */ }
Expand description
A builder for CreateHlsManifestConfiguration
.
Implementations§
source§impl CreateHlsManifestConfigurationBuilder
impl CreateHlsManifestConfigurationBuilder
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<CreateHlsManifestConfiguration, BuildError>
pub fn build(self) -> Result<CreateHlsManifestConfiguration, BuildError>
Consumes the builder and constructs a CreateHlsManifestConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateHlsManifestConfigurationBuilder
impl Clone for CreateHlsManifestConfigurationBuilder
source§fn clone(&self) -> CreateHlsManifestConfigurationBuilder
fn clone(&self) -> CreateHlsManifestConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateHlsManifestConfigurationBuilder
impl Default for CreateHlsManifestConfigurationBuilder
source§fn default() -> CreateHlsManifestConfigurationBuilder
fn default() -> CreateHlsManifestConfigurationBuilder
source§impl PartialEq for CreateHlsManifestConfigurationBuilder
impl PartialEq for CreateHlsManifestConfigurationBuilder
source§fn eq(&self, other: &CreateHlsManifestConfigurationBuilder) -> bool
fn eq(&self, other: &CreateHlsManifestConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.