Interface AnalyzeIdResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AnalyzeIdResponse.Builder,AnalyzeIdResponse>,SdkBuilder<AnalyzeIdResponse.Builder,AnalyzeIdResponse>,SdkPojo,SdkResponse.Builder,TextractResponse.Builder
- Enclosing class:
- AnalyzeIdResponse
public static interface AnalyzeIdResponse.Builder extends TextractResponse.Builder, SdkPojo, CopyableBuilder<AnalyzeIdResponse.Builder,AnalyzeIdResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnalyzeIdResponse.BuilderanalyzeIDModelVersion(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.AnalyzeIdResponse.BuilderdocumentMetadata(DocumentMetadata documentMetadata)Sets the value of the DocumentMetadata property for this object.AnalyzeIdResponse.BuilderidentityDocuments(Collection<IdentityDocument> identityDocuments)The list of documents processed by AnalyzeID.AnalyzeIdResponse.BuilderidentityDocuments(Consumer<IdentityDocument.Builder>... identityDocuments)The list of documents processed by AnalyzeID.AnalyzeIdResponse.BuilderidentityDocuments(IdentityDocument... identityDocuments)The list of documents processed by AnalyzeID.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.textract.model.TextractResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
identityDocuments
AnalyzeIdResponse.Builder identityDocuments(Collection<IdentityDocument> 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(IdentityDocument... 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 to#identityDocuments(List.) - 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:
#identityDocuments(java.util.Collection)
-
documentMetadata
AnalyzeIdResponse.Builder documentMetadata(DocumentMetadata 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:
documentMetadata(DocumentMetadata)
-
analyzeIDModelVersion
AnalyzeIdResponse.Builder analyzeIDModelVersion(String 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.
-
-