#[non_exhaustive]pub struct RelativeTimeRangeBuilder { /* private fields */ }
Expand description
A builder for RelativeTimeRange
.
Implementations§
source§impl RelativeTimeRangeBuilder
impl RelativeTimeRangeBuilder
sourcepub fn start_percentage(self, input: i32) -> Self
pub fn start_percentage(self, input: i32) -> Self
The time, in percentage, when Amazon Transcribe starts searching for the specified criteria in your media file. If you include StartPercentage
in your request, you must also include EndPercentage
.
sourcepub fn set_start_percentage(self, input: Option<i32>) -> Self
pub fn set_start_percentage(self, input: Option<i32>) -> Self
The time, in percentage, when Amazon Transcribe starts searching for the specified criteria in your media file. If you include StartPercentage
in your request, you must also include EndPercentage
.
sourcepub fn get_start_percentage(&self) -> &Option<i32>
pub fn get_start_percentage(&self) -> &Option<i32>
The time, in percentage, when Amazon Transcribe starts searching for the specified criteria in your media file. If you include StartPercentage
in your request, you must also include EndPercentage
.
sourcepub fn end_percentage(self, input: i32) -> Self
pub fn end_percentage(self, input: i32) -> Self
The time, in percentage, when Amazon Transcribe stops searching for the specified criteria in your media file. If you include EndPercentage
in your request, you must also include StartPercentage
.
sourcepub fn set_end_percentage(self, input: Option<i32>) -> Self
pub fn set_end_percentage(self, input: Option<i32>) -> Self
The time, in percentage, when Amazon Transcribe stops searching for the specified criteria in your media file. If you include EndPercentage
in your request, you must also include StartPercentage
.
sourcepub fn get_end_percentage(&self) -> &Option<i32>
pub fn get_end_percentage(&self) -> &Option<i32>
The time, in percentage, when Amazon Transcribe stops searching for the specified criteria in your media file. If you include EndPercentage
in your request, you must also include StartPercentage
.
sourcepub fn first(self, input: i32) -> Self
pub fn first(self, input: i32) -> Self
The time, in percentage, 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<i32>) -> Self
pub fn set_first(self, input: Option<i32>) -> Self
The time, in percentage, 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<i32>
pub fn get_first(&self) -> &Option<i32>
The time, in percentage, 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: i32) -> Self
pub fn last(self, input: i32) -> Self
The time, in percentage, 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<i32>) -> Self
pub fn set_last(self, input: Option<i32>) -> Self
The time, in percentage, 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<i32>
pub fn get_last(&self) -> &Option<i32>
The time, in percentage, 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) -> RelativeTimeRange
pub fn build(self) -> RelativeTimeRange
Consumes the builder and constructs a RelativeTimeRange
.
Trait Implementations§
source§impl Clone for RelativeTimeRangeBuilder
impl Clone for RelativeTimeRangeBuilder
source§fn clone(&self) -> RelativeTimeRangeBuilder
fn clone(&self) -> RelativeTimeRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RelativeTimeRangeBuilder
impl Debug for RelativeTimeRangeBuilder
source§impl Default for RelativeTimeRangeBuilder
impl Default for RelativeTimeRangeBuilder
source§fn default() -> RelativeTimeRangeBuilder
fn default() -> RelativeTimeRangeBuilder
source§impl PartialEq for RelativeTimeRangeBuilder
impl PartialEq for RelativeTimeRangeBuilder
source§fn eq(&self, other: &RelativeTimeRangeBuilder) -> bool
fn eq(&self, other: &RelativeTimeRangeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.