Struct aws_sdk_rekognition::model::shot_segment::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ShotSegment.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn index(self, input: i64) -> Self
pub fn index(self, input: i64) -> Self
An Identifier for a shot detection segment detected in a video.
sourcepub fn set_index(self, input: Option<i64>) -> Self
pub fn set_index(self, input: Option<i64>) -> Self
An Identifier for a shot detection segment detected in a video.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
sourcepub fn build(self) -> ShotSegment
pub fn build(self) -> ShotSegment
Consumes the builder and constructs a ShotSegment.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more