Interface AnalyzeIdResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AnalyzeIdResponse.Builder,,AnalyzeIdResponse> SdkBuilder<AnalyzeIdResponse.Builder,,AnalyzeIdResponse> SdkPojo,SdkResponse.Builder,TextractResponse.Builder
- Enclosing class:
AnalyzeIdResponse
-
Method Summary
Modifier and TypeMethodDescriptionanalyzeIDModelVersion(String analyzeIDModelVersion) The version of the AnalyzeIdentity API being used to process documents.default AnalyzeIdResponse.BuilderdocumentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata) Sets the value of the DocumentMetadata property for this object.documentMetadata(DocumentMetadata documentMetadata) Sets the value of the DocumentMetadata property for this object.identityDocuments(Collection<IdentityDocument> identityDocuments) The list of documents processed by AnalyzeID.identityDocuments(Consumer<IdentityDocument.Builder>... identityDocuments) The list of documents processed by AnalyzeID.identityDocuments(IdentityDocument... identityDocuments) The list of documents processed by AnalyzeID.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.textract.model.TextractResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
identityDocuments
The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.
- Parameters:
identityDocuments- The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityDocuments
The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.
- Parameters:
identityDocuments- The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityDocuments
AnalyzeIdResponse.Builder identityDocuments(Consumer<IdentityDocument.Builder>... identityDocuments) The list of documents processed by AnalyzeID. Includes a number denoting their place in the list and the response structure for the document.
This is a convenience method that creates an instance of theIdentityDocument.Builderavoiding the need to create one manually viaIdentityDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityDocuments(List<IdentityDocument>).- Parameters:
identityDocuments- a consumer that will call methods onIdentityDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentMetadata
Sets the value of the DocumentMetadata property for this object.- Parameters:
documentMetadata- The new value for the DocumentMetadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadata
default AnalyzeIdResponse.Builder documentMetadata(Consumer<DocumentMetadata.Builder> documentMetadata) Sets the value of the DocumentMetadata property for this object. This is a convenience method that creates an instance of theDocumentMetadata.Builderavoiding the need to create one manually viaDocumentMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentMetadata(DocumentMetadata).- Parameters:
documentMetadata- a consumer that will call methods onDocumentMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analyzeIDModelVersion
The version of the AnalyzeIdentity API being used to process documents.
- Parameters:
analyzeIDModelVersion- The version of the AnalyzeIdentity API being used to process documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-