Interface AnalyzeIdResponse.Builder

    • 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 the IdentityDocument.Builder avoiding the need to create one manually via IdentityDocument.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #identityDocuments(List).

        Parameters:
        identityDocuments - a consumer that will call methods on IdentityDocument.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.
      • 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.