#[non_exhaustive]pub struct AbsoluteTimeRangeBuilder { /* private fields */ }
Expand description
A builder for AbsoluteTimeRange
.
Implementations§
source§impl AbsoluteTimeRangeBuilder
impl AbsoluteTimeRangeBuilder
sourcepub fn start_time(self, input: i64) -> Self
pub fn start_time(self, input: i64) -> Self
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime
in your request, you must also include EndTime
.
sourcepub fn set_start_time(self, input: Option<i64>) -> Self
pub fn set_start_time(self, input: Option<i64>) -> Self
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime
in your request, you must also include EndTime
.
sourcepub fn get_start_time(&self) -> &Option<i64>
pub fn get_start_time(&self) -> &Option<i64>
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime
in your request, you must also include EndTime
.
sourcepub fn end_time(self, input: i64) -> Self
pub fn end_time(self, input: i64) -> Self
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime
in your request, you must also include StartTime
.
sourcepub fn set_end_time(self, input: Option<i64>) -> Self
pub fn set_end_time(self, input: Option<i64>) -> Self
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime
in your request, you must also include StartTime
.
sourcepub fn get_end_time(&self) -> &Option<i64>
pub fn get_end_time(&self) -> &Option<i64>
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime
in your request, you must also include StartTime
.
sourcepub fn first(self, input: i64) -> Self
pub fn first(self, input: i64) -> Self
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn set_first(self, input: Option<i64>) -> Self
pub fn set_first(self, input: Option<i64>) -> Self
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn get_first(&self) -> &Option<i64>
pub fn get_first(&self) -> &Option<i64>
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn last(self, input: i64) -> Self
pub fn last(self, input: i64) -> Self
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn set_last(self, input: Option<i64>) -> Self
pub fn set_last(self, input: Option<i64>) -> Self
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn get_last(&self) -> &Option<i64>
pub fn get_last(&self) -> &Option<i64>
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
sourcepub fn build(self) -> AbsoluteTimeRange
pub fn build(self) -> AbsoluteTimeRange
Consumes the builder and constructs a AbsoluteTimeRange
.
Trait Implementations§
source§impl Clone for AbsoluteTimeRangeBuilder
impl Clone for AbsoluteTimeRangeBuilder
source§fn clone(&self) -> AbsoluteTimeRangeBuilder
fn clone(&self) -> AbsoluteTimeRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AbsoluteTimeRangeBuilder
impl Debug for AbsoluteTimeRangeBuilder
source§impl Default for AbsoluteTimeRangeBuilder
impl Default for AbsoluteTimeRangeBuilder
source§fn default() -> AbsoluteTimeRangeBuilder
fn default() -> AbsoluteTimeRangeBuilder
source§impl PartialEq for AbsoluteTimeRangeBuilder
impl PartialEq for AbsoluteTimeRangeBuilder
source§fn eq(&self, other: &AbsoluteTimeRangeBuilder) -> bool
fn eq(&self, other: &AbsoluteTimeRangeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.