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 ==
.impl StructuralPartialEq for LendingDetectionBuilder
Auto Trait Implementations§
impl Freeze for LendingDetectionBuilder
impl RefUnwindSafe for LendingDetectionBuilder
impl Send for LendingDetectionBuilder
impl Sync for LendingDetectionBuilder
impl Unpin for LendingDetectionBuilder
impl UnwindSafe for LendingDetectionBuilder
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