Struct aws_sdk_rekognition::types::builders::LabelDetectionBuilder
source · #[non_exhaustive]pub struct LabelDetectionBuilder { /* private fields */ }Expand description
A builder for LabelDetection.
Implementations§
source§impl LabelDetectionBuilder
impl LabelDetectionBuilder
sourcepub fn timestamp(self, input: i64) -> Self
pub fn timestamp(self, input: i64) -> Self
Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the label first appears.
sourcepub fn set_timestamp(self, input: Option<i64>) -> Self
pub fn set_timestamp(self, input: Option<i64>) -> Self
Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the label first appears.
sourcepub fn get_timestamp(&self) -> &Option<i64>
pub fn get_timestamp(&self) -> &Option<i64>
Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the label first appears.
sourcepub fn start_timestamp_millis(self, input: i64) -> Self
pub fn start_timestamp_millis(self, input: i64) -> Self
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
sourcepub fn set_start_timestamp_millis(self, input: Option<i64>) -> Self
pub fn set_start_timestamp_millis(self, input: Option<i64>) -> Self
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
sourcepub fn get_start_timestamp_millis(&self) -> &Option<i64>
pub fn get_start_timestamp_millis(&self) -> &Option<i64>
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
sourcepub fn end_timestamp_millis(self, input: i64) -> Self
pub fn end_timestamp_millis(self, input: i64) -> Self
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
sourcepub fn set_end_timestamp_millis(self, input: Option<i64>) -> Self
pub fn set_end_timestamp_millis(self, input: Option<i64>) -> Self
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
sourcepub fn get_end_timestamp_millis(&self) -> &Option<i64>
pub fn get_end_timestamp_millis(&self) -> &Option<i64>
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
sourcepub fn duration_millis(self, input: i64) -> Self
pub fn duration_millis(self, input: i64) -> Self
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
sourcepub fn set_duration_millis(self, input: Option<i64>) -> Self
pub fn set_duration_millis(self, input: Option<i64>) -> Self
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
sourcepub fn get_duration_millis(&self) -> &Option<i64>
pub fn get_duration_millis(&self) -> &Option<i64>
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
sourcepub fn build(self) -> LabelDetection
pub fn build(self) -> LabelDetection
Consumes the builder and constructs a LabelDetection.
Trait Implementations§
source§impl Clone for LabelDetectionBuilder
impl Clone for LabelDetectionBuilder
source§fn clone(&self) -> LabelDetectionBuilder
fn clone(&self) -> LabelDetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LabelDetectionBuilder
impl Debug for LabelDetectionBuilder
source§impl Default for LabelDetectionBuilder
impl Default for LabelDetectionBuilder
source§fn default() -> LabelDetectionBuilder
fn default() -> LabelDetectionBuilder
source§impl PartialEq for LabelDetectionBuilder
impl PartialEq for LabelDetectionBuilder
source§fn eq(&self, other: &LabelDetectionBuilder) -> bool
fn eq(&self, other: &LabelDetectionBuilder) -> bool
self and other values to be equal, and is used
by ==.