Struct aws_sdk_rekognition::model::connected_home_settings::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ConnectedHomeSettings.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn labels(self, input: impl Into<String>) -> Self
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to labels.
To override the contents of this collection use set_labels.
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
sourcepub fn min_confidence(self, input: f32) -> Self
pub fn min_confidence(self, input: f32) -> Self
The minimum confidence required to label an object in the video.
sourcepub fn set_min_confidence(self, input: Option<f32>) -> Self
pub fn set_min_confidence(self, input: Option<f32>) -> Self
The minimum confidence required to label an object in the video.
sourcepub fn build(self) -> ConnectedHomeSettings
pub fn build(self) -> ConnectedHomeSettings
Consumes the builder and constructs a ConnectedHomeSettings.
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