Struct aws_sdk_textract::types::builders::ExtractionBuilder
source · #[non_exhaustive]pub struct ExtractionBuilder { /* private fields */ }
Expand description
A builder for Extraction
.
Implementations§
source§impl ExtractionBuilder
impl ExtractionBuilder
sourcepub fn lending_document(self, input: LendingDocument) -> Self
pub fn lending_document(self, input: LendingDocument) -> Self
Holds the structured data returned by AnalyzeDocument for lending documents.
sourcepub fn set_lending_document(self, input: Option<LendingDocument>) -> Self
pub fn set_lending_document(self, input: Option<LendingDocument>) -> Self
Holds the structured data returned by AnalyzeDocument for lending documents.
sourcepub fn get_lending_document(&self) -> &Option<LendingDocument>
pub fn get_lending_document(&self) -> &Option<LendingDocument>
Holds the structured data returned by AnalyzeDocument for lending documents.
sourcepub fn expense_document(self, input: ExpenseDocument) -> Self
pub fn expense_document(self, input: ExpenseDocument) -> Self
The structure holding all the information returned by AnalyzeExpense
sourcepub fn set_expense_document(self, input: Option<ExpenseDocument>) -> Self
pub fn set_expense_document(self, input: Option<ExpenseDocument>) -> Self
The structure holding all the information returned by AnalyzeExpense
sourcepub fn get_expense_document(&self) -> &Option<ExpenseDocument>
pub fn get_expense_document(&self) -> &Option<ExpenseDocument>
The structure holding all the information returned by AnalyzeExpense
sourcepub fn identity_document(self, input: IdentityDocument) -> Self
pub fn identity_document(self, input: IdentityDocument) -> Self
The structure that lists each document processed in an AnalyzeID operation.
sourcepub fn set_identity_document(self, input: Option<IdentityDocument>) -> Self
pub fn set_identity_document(self, input: Option<IdentityDocument>) -> Self
The structure that lists each document processed in an AnalyzeID operation.
sourcepub fn get_identity_document(&self) -> &Option<IdentityDocument>
pub fn get_identity_document(&self) -> &Option<IdentityDocument>
The structure that lists each document processed in an AnalyzeID operation.
sourcepub fn build(self) -> Extraction
pub fn build(self) -> Extraction
Consumes the builder and constructs a Extraction
.
Trait Implementations§
source§impl Clone for ExtractionBuilder
impl Clone for ExtractionBuilder
source§fn clone(&self) -> ExtractionBuilder
fn clone(&self) -> ExtractionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExtractionBuilder
impl Debug for ExtractionBuilder
source§impl Default for ExtractionBuilder
impl Default for ExtractionBuilder
source§fn default() -> ExtractionBuilder
fn default() -> ExtractionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExtractionBuilder
impl PartialEq for ExtractionBuilder
source§fn eq(&self, other: &ExtractionBuilder) -> bool
fn eq(&self, other: &ExtractionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExtractionBuilder
Auto Trait Implementations§
impl Freeze for ExtractionBuilder
impl RefUnwindSafe for ExtractionBuilder
impl Send for ExtractionBuilder
impl Sync for ExtractionBuilder
impl Unpin for ExtractionBuilder
impl UnwindSafe for ExtractionBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.