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 ==.