Struct aws_sdk_rekognition::types::builders::InstanceBuilder
source · #[non_exhaustive]pub struct InstanceBuilder { /* private fields */ }Expand description
A builder for Instance.
Implementations§
source§impl InstanceBuilder
impl InstanceBuilder
sourcepub fn bounding_box(self, input: BoundingBox) -> Self
pub fn bounding_box(self, input: BoundingBox) -> Self
The position of the label instance on the image.
sourcepub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
pub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
The position of the label instance on the image.
sourcepub fn get_bounding_box(&self) -> &Option<BoundingBox>
pub fn get_bounding_box(&self) -> &Option<BoundingBox>
The position of the label instance on the image.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
sourcepub fn dominant_colors(self, input: DominantColor) -> Self
pub fn dominant_colors(self, input: DominantColor) -> Self
Appends an item to dominant_colors.
To override the contents of this collection use set_dominant_colors.
The dominant colors found in an individual instance of a label.
sourcepub fn set_dominant_colors(self, input: Option<Vec<DominantColor>>) -> Self
pub fn set_dominant_colors(self, input: Option<Vec<DominantColor>>) -> Self
The dominant colors found in an individual instance of a label.
sourcepub fn get_dominant_colors(&self) -> &Option<Vec<DominantColor>>
pub fn get_dominant_colors(&self) -> &Option<Vec<DominantColor>>
The dominant colors found in an individual instance of a label.
Trait Implementations§
source§impl Clone for InstanceBuilder
impl Clone for InstanceBuilder
source§fn clone(&self) -> InstanceBuilder
fn clone(&self) -> InstanceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InstanceBuilder
impl Debug for InstanceBuilder
source§impl Default for InstanceBuilder
impl Default for InstanceBuilder
source§fn default() -> InstanceBuilder
fn default() -> InstanceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InstanceBuilder
impl PartialEq for InstanceBuilder
source§fn eq(&self, other: &InstanceBuilder) -> bool
fn eq(&self, other: &InstanceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InstanceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InstanceBuilder
impl Send for InstanceBuilder
impl Sync for InstanceBuilder
impl Unpin for InstanceBuilder
impl UnwindSafe for InstanceBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.