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 Details

    • 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<IdentityDocument>).

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to documentMetadata(DocumentMetadata).

      Parameters:
      documentMetadata - a consumer that will call methods on DocumentMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.