Interface IdentityDocument.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<IdentityDocument.Builder,IdentityDocument>
,SdkBuilder<IdentityDocument.Builder,IdentityDocument>
,SdkPojo
- Enclosing class:
- IdentityDocument
public static interface IdentityDocument.Builder extends SdkPojo, CopyableBuilder<IdentityDocument.Builder,IdentityDocument>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentityDocument.Builder
blocks(Collection<Block> blocks)
Individual word recognition, as returned by document detection.IdentityDocument.Builder
blocks(Consumer<Block.Builder>... blocks)
Individual word recognition, as returned by document detection.IdentityDocument.Builder
blocks(Block... blocks)
Individual word recognition, as returned by document detection.IdentityDocument.Builder
documentIndex(Integer documentIndex)
Denotes the placement of a document in the IdentityDocument list.IdentityDocument.Builder
identityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields)
The structure used to record information extracted from identity documents.IdentityDocument.Builder
identityDocumentFields(Consumer<IdentityDocumentField.Builder>... identityDocumentFields)
The structure used to record information extracted from identity documents.IdentityDocument.Builder
identityDocumentFields(IdentityDocumentField... identityDocumentFields)
The structure used to record information extracted from identity documents.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
documentIndex
IdentityDocument.Builder documentIndex(Integer 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
IdentityDocument.Builder identityDocumentFields(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
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.Builder
avoiding the need to create one manually viaIdentityDocumentField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#identityDocumentFields(List
.) - 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:
#identityDocumentFields(java.util.Collection
)
-
blocks
IdentityDocument.Builder blocks(Collection<Block> 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
IdentityDocument.Builder blocks(Block... 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
IdentityDocument.Builder blocks(Consumer<Block.Builder>... blocks)
Individual word recognition, as returned by document detection.
This is a convenience method that creates an instance of theBlock.Builder
avoiding the need to create one manually viaBlock.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#blocks(List
.) - 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:
#blocks(java.util.Collection
)
-
-