Struct aws_sdk_rekognition::model::custom_label::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for CustomLabel.
Implementations
sourceimpl Builder
impl Builder
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 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 build(self) -> CustomLabel
pub fn build(self) -> CustomLabel
Consumes the builder and constructs a CustomLabel.