Struct aws_sdk_rekognition::types::builders::CustomLabelBuilder
source · #[non_exhaustive]pub struct CustomLabelBuilder { /* private fields */ }Expand description
A builder for CustomLabel.
Implementations§
source§impl CustomLabelBuilder
impl CustomLabelBuilder
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.
sourcepub fn geometry(self, input: Geometry) -> Self
pub fn geometry(self, input: Geometry) -> Self
The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
sourcepub fn set_geometry(self, input: Option<Geometry>) -> Self
pub fn set_geometry(self, input: Option<Geometry>) -> Self
The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
sourcepub fn get_geometry(&self) -> &Option<Geometry>
pub fn get_geometry(&self) -> &Option<Geometry>
The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
sourcepub fn build(self) -> CustomLabel
pub fn build(self) -> CustomLabel
Consumes the builder and constructs a CustomLabel.
Trait Implementations§
source§impl Clone for CustomLabelBuilder
impl Clone for CustomLabelBuilder
source§fn clone(&self) -> CustomLabelBuilder
fn clone(&self) -> CustomLabelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomLabelBuilder
impl Debug for CustomLabelBuilder
source§impl Default for CustomLabelBuilder
impl Default for CustomLabelBuilder
source§fn default() -> CustomLabelBuilder
fn default() -> CustomLabelBuilder
source§impl PartialEq for CustomLabelBuilder
impl PartialEq for CustomLabelBuilder
source§fn eq(&self, other: &CustomLabelBuilder) -> bool
fn eq(&self, other: &CustomLabelBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomLabelBuilder
Auto Trait Implementations§
impl Freeze for CustomLabelBuilder
impl RefUnwindSafe for CustomLabelBuilder
impl Send for CustomLabelBuilder
impl Sync for CustomLabelBuilder
impl Unpin for CustomLabelBuilder
impl UnwindSafe for CustomLabelBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more