Struct aws_sdk_transcribe::model::relative_time_range::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RelativeTimeRange.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> RelativeTimeRange
pub fn build(self) -> RelativeTimeRange
Consumes the builder and constructs a RelativeTimeRange.