Struct aws_sdk_textract::model::expense_detection::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExpenseDetection
.
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 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 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 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 build(self) -> ExpenseDetection
pub fn build(self) -> ExpenseDetection
Consumes the builder and constructs a ExpenseDetection
.