Interface IdentityDocument.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IdentityDocument.Builder,,IdentityDocument> SdkBuilder<IdentityDocument.Builder,,IdentityDocument> SdkPojo
- Enclosing class:
IdentityDocument
-
Method Summary
Modifier and TypeMethodDescriptionblocks(Collection<Block> blocks) Individual word recognition, as returned by document detection.blocks(Consumer<Block.Builder>... blocks) Individual word recognition, as returned by document detection.Individual word recognition, as returned by document detection.documentIndex(Integer documentIndex) Denotes the placement of a document in the IdentityDocument list.identityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields) The structure used to record information extracted from identity documents.identityDocumentFields(Consumer<IdentityDocumentField.Builder>... identityDocumentFields) The structure used to record information extracted from identity documents.identityDocumentFields(IdentityDocumentField... identityDocumentFields) The structure used to record information extracted from identity documents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
documentIndex
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
- Parameters:
documentIndex- Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityDocumentFields
IdentityDocument.Builder identityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields) The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
- Parameters:
identityDocumentFields- The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityDocumentFields
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
- Parameters:
identityDocumentFields- The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityDocumentFields
IdentityDocument.Builder identityDocumentFields(Consumer<IdentityDocumentField.Builder>... identityDocumentFields) The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
This is a convenience method that creates an instance of theIdentityDocumentField.Builderavoiding the need to create one manually viaIdentityDocumentField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityDocumentFields(List<IdentityDocumentField>).- Parameters:
identityDocumentFields- a consumer that will call methods onIdentityDocumentField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blocks
Individual word recognition, as returned by document detection.
- Parameters:
blocks- Individual word recognition, as returned by document detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blocks
Individual word recognition, as returned by document detection.
- Parameters:
blocks- Individual word recognition, as returned by document detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blocks
Individual word recognition, as returned by document detection.
This is a convenience method that creates an instance of theBlock.Builderavoiding the need to create one manually viaBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblocks(List<Block>).- Parameters:
blocks- a consumer that will call methods onBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-