#[non_exhaustive]pub struct FragmentBuilder { /* private fields */ }
Expand description
A builder for Fragment
.
Implementations§
source§impl FragmentBuilder
impl FragmentBuilder
sourcepub fn fragment_number(self, input: impl Into<String>) -> Self
pub fn fragment_number(self, input: impl Into<String>) -> Self
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
sourcepub fn set_fragment_number(self, input: Option<String>) -> Self
pub fn set_fragment_number(self, input: Option<String>) -> Self
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
sourcepub fn get_fragment_number(&self) -> &Option<String>
pub fn get_fragment_number(&self) -> &Option<String>
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
sourcepub fn fragment_size_in_bytes(self, input: i64) -> Self
pub fn fragment_size_in_bytes(self, input: i64) -> Self
The total fragment size, including information about the fragment and contained media data.
sourcepub fn set_fragment_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_fragment_size_in_bytes(self, input: Option<i64>) -> Self
The total fragment size, including information about the fragment and contained media data.
sourcepub fn get_fragment_size_in_bytes(&self) -> &Option<i64>
pub fn get_fragment_size_in_bytes(&self) -> &Option<i64>
The total fragment size, including information about the fragment and contained media data.
sourcepub fn producer_timestamp(self, input: DateTime) -> Self
pub fn producer_timestamp(self, input: DateTime) -> Self
The timestamp from the producer corresponding to the fragment.
sourcepub fn set_producer_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_producer_timestamp(self, input: Option<DateTime>) -> Self
The timestamp from the producer corresponding to the fragment.
sourcepub fn get_producer_timestamp(&self) -> &Option<DateTime>
pub fn get_producer_timestamp(&self) -> &Option<DateTime>
The timestamp from the producer corresponding to the fragment.
sourcepub fn server_timestamp(self, input: DateTime) -> Self
pub fn server_timestamp(self, input: DateTime) -> Self
The timestamp from the Amazon Web Services server corresponding to the fragment.
sourcepub fn set_server_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_server_timestamp(self, input: Option<DateTime>) -> Self
The timestamp from the Amazon Web Services server corresponding to the fragment.
sourcepub fn get_server_timestamp(&self) -> &Option<DateTime>
pub fn get_server_timestamp(&self) -> &Option<DateTime>
The timestamp from the Amazon Web Services server corresponding to the fragment.
sourcepub fn fragment_length_in_milliseconds(self, input: i64) -> Self
pub fn fragment_length_in_milliseconds(self, input: i64) -> Self
The playback duration or other time value associated with the fragment.
sourcepub fn set_fragment_length_in_milliseconds(self, input: Option<i64>) -> Self
pub fn set_fragment_length_in_milliseconds(self, input: Option<i64>) -> Self
The playback duration or other time value associated with the fragment.
sourcepub fn get_fragment_length_in_milliseconds(&self) -> &Option<i64>
pub fn get_fragment_length_in_milliseconds(&self) -> &Option<i64>
The playback duration or other time value associated with the fragment.
Trait Implementations§
source§impl Clone for FragmentBuilder
impl Clone for FragmentBuilder
source§fn clone(&self) -> FragmentBuilder
fn clone(&self) -> FragmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FragmentBuilder
impl Debug for FragmentBuilder
source§impl Default for FragmentBuilder
impl Default for FragmentBuilder
source§fn default() -> FragmentBuilder
fn default() -> FragmentBuilder
source§impl PartialEq for FragmentBuilder
impl PartialEq for FragmentBuilder
source§fn eq(&self, other: &FragmentBuilder) -> bool
fn eq(&self, other: &FragmentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.