Struct aws_sdk_textract::model::identity_document::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for IdentityDocument
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn document_index(self, input: i32) -> Self
pub fn document_index(self, input: i32) -> Self
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
sourcepub fn set_document_index(self, input: Option<i32>) -> Self
pub fn set_document_index(self, input: Option<i32>) -> Self
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
sourcepub fn identity_document_fields(self, input: IdentityDocumentField) -> Self
pub fn identity_document_fields(self, input: IdentityDocumentField) -> Self
Appends an item to identity_document_fields
.
To override the contents of this collection use set_identity_document_fields
.
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
sourcepub fn set_identity_document_fields(
self,
input: Option<Vec<IdentityDocumentField>>
) -> Self
pub fn set_identity_document_fields(
self,
input: Option<Vec<IdentityDocumentField>>
) -> Self
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
sourcepub fn blocks(self, input: Block) -> Self
pub fn blocks(self, input: Block) -> Self
Appends an item to blocks
.
To override the contents of this collection use set_blocks
.
Individual word recognition, as returned by document detection.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
Individual word recognition, as returned by document detection.
sourcepub fn build(self) -> IdentityDocument
pub fn build(self) -> IdentityDocument
Consumes the builder and constructs a IdentityDocument
.