Struct aws_sdk_textract::model::lending_detection::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LendingDetection
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn text(self, input: impl Into<String>) -> Self
pub fn text(self, input: impl Into<String>) -> Self
The text extracted for a detected value in a lending document.
sourcepub fn set_text(self, input: Option<String>) -> Self
pub fn set_text(self, input: Option<String>) -> Self
The text extracted for a detected value in a lending document.
sourcepub fn selection_status(self, input: SelectionStatus) -> Self
pub fn selection_status(self, input: SelectionStatus) -> Self
The selection status of a selection element, such as an option button or check box.
sourcepub fn set_selection_status(self, input: Option<SelectionStatus>) -> Self
pub fn set_selection_status(self, input: Option<SelectionStatus>) -> Self
The selection status of a selection element, such as an option button or check box.
sourcepub fn geometry(self, input: Geometry) -> Self
pub fn geometry(self, input: Geometry) -> Self
Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
sourcepub fn set_geometry(self, input: Option<Geometry>) -> Self
pub fn set_geometry(self, input: Option<Geometry>) -> Self
Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence level for the text of a detected value in a lending document.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence level for the text of a detected value in a lending document.
sourcepub fn build(self) -> LendingDetection
pub fn build(self) -> LendingDetection
Consumes the builder and constructs a LendingDetection
.