Struct aws_sdk_elastictranscoder::types::builders::TimeSpanBuilder
source · #[non_exhaustive]pub struct TimeSpanBuilder { /* private fields */ }
Expand description
A builder for TimeSpan
.
Implementations§
source§impl TimeSpanBuilder
impl TimeSpanBuilder
sourcepub fn start_time(self, input: impl Into<String>) -> Self
pub fn start_time(self, input: impl Into<String>) -> Self
The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.
sourcepub fn set_start_time(self, input: Option<String>) -> Self
pub fn set_start_time(self, input: Option<String>) -> Self
The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.
sourcepub fn get_start_time(&self) -> &Option<String>
pub fn get_start_time(&self) -> &Option<String>
The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.
sourcepub fn duration(self, input: impl Into<String>) -> Self
pub fn duration(self, input: impl Into<String>) -> Self
The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.
If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.
sourcepub fn set_duration(self, input: Option<String>) -> Self
pub fn set_duration(self, input: Option<String>) -> Self
The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.
If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.
sourcepub fn get_duration(&self) -> &Option<String>
pub fn get_duration(&self) -> &Option<String>
The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.
If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.
Trait Implementations§
source§impl Clone for TimeSpanBuilder
impl Clone for TimeSpanBuilder
source§fn clone(&self) -> TimeSpanBuilder
fn clone(&self) -> TimeSpanBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimeSpanBuilder
impl Debug for TimeSpanBuilder
source§impl Default for TimeSpanBuilder
impl Default for TimeSpanBuilder
source§fn default() -> TimeSpanBuilder
fn default() -> TimeSpanBuilder
source§impl PartialEq<TimeSpanBuilder> for TimeSpanBuilder
impl PartialEq<TimeSpanBuilder> for TimeSpanBuilder
source§fn eq(&self, other: &TimeSpanBuilder) -> bool
fn eq(&self, other: &TimeSpanBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.