Struct aws_sdk_textract::types::builders::ExpenseDetectionBuilder
source · #[non_exhaustive]pub struct ExpenseDetectionBuilder { /* private fields */ }
Expand description
A builder for ExpenseDetection
.
Implementations§
source§impl ExpenseDetectionBuilder
impl ExpenseDetectionBuilder
sourcepub fn text(self, input: impl Into<String>) -> Self
pub fn text(self, input: impl Into<String>) -> Self
The word or line of text recognized by Amazon Textract
sourcepub fn set_text(self, input: Option<String>) -> Self
pub fn set_text(self, input: Option<String>) -> Self
The word or line of text recognized by Amazon Textract
sourcepub fn get_text(&self) -> &Option<String>
pub fn get_text(&self) -> &Option<String>
The word or line of text recognized by Amazon Textract
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 in detection, as a percentage
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence in detection, as a percentage
sourcepub fn get_confidence(&self) -> &Option<f32>
pub fn get_confidence(&self) -> &Option<f32>
The confidence in detection, as a percentage
sourcepub fn build(self) -> ExpenseDetection
pub fn build(self) -> ExpenseDetection
Consumes the builder and constructs a ExpenseDetection
.
Trait Implementations§
source§impl Clone for ExpenseDetectionBuilder
impl Clone for ExpenseDetectionBuilder
source§fn clone(&self) -> ExpenseDetectionBuilder
fn clone(&self) -> ExpenseDetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExpenseDetectionBuilder
impl Debug for ExpenseDetectionBuilder
source§impl Default for ExpenseDetectionBuilder
impl Default for ExpenseDetectionBuilder
source§fn default() -> ExpenseDetectionBuilder
fn default() -> ExpenseDetectionBuilder
source§impl PartialEq for ExpenseDetectionBuilder
impl PartialEq for ExpenseDetectionBuilder
source§fn eq(&self, other: &ExpenseDetectionBuilder) -> bool
fn eq(&self, other: &ExpenseDetectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.