Struct aws_sdk_textract::types::builders::LendingDetectionBuilder
source · #[non_exhaustive]pub struct LendingDetectionBuilder { /* private fields */ }
Expand description
A builder for LendingDetection
.
Implementations§
source§impl LendingDetectionBuilder
impl LendingDetectionBuilder
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 get_text(&self) -> &Option<String>
pub fn get_text(&self) -> &Option<String>
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 get_selection_status(&self) -> &Option<SelectionStatus>
pub fn get_selection_status(&self) -> &Option<SelectionStatus>
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 get_geometry(&self) -> &Option<Geometry>
pub fn get_geometry(&self) -> &Option<Geometry>
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 get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
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
.
Trait Implementations§
source§impl Clone for LendingDetectionBuilder
impl Clone for LendingDetectionBuilder
source§fn clone(&self) -> LendingDetectionBuilder
fn clone(&self) -> LendingDetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LendingDetectionBuilder
impl Debug for LendingDetectionBuilder
source§impl Default for LendingDetectionBuilder
impl Default for LendingDetectionBuilder
source§fn default() -> LendingDetectionBuilder
fn default() -> LendingDetectionBuilder
source§impl PartialEq for LendingDetectionBuilder
impl PartialEq for LendingDetectionBuilder
source§fn eq(&self, other: &LendingDetectionBuilder) -> bool
fn eq(&self, other: &LendingDetectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.