Interface GetLendingAnalysisResponse.Builder

  • Method Details

    • documentMetadata

      GetLendingAnalysisResponse.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 GetLendingAnalysisResponse.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:
    • jobStatus

      The current status of the lending analysis job.

      Parameters:
      jobStatus - The current status of the lending analysis job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      The current status of the lending analysis job.

      Parameters:
      jobStatus - The current status of the lending analysis job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of lending results.

      Parameters:
      nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of lending results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.

      Parameters:
      results - Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.

      Parameters:
      results - Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.

      This is a convenience method that creates an instance of the LendingResult.Builder avoiding the need to create one manually via LendingResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to results(List<LendingResult>).

      Parameters:
      results - a consumer that will call methods on LendingResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • warnings

      A list of warnings that occurred during the lending analysis operation.

      Parameters:
      warnings - A list of warnings that occurred during the lending analysis operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      A list of warnings that occurred during the lending analysis operation.

      Parameters:
      warnings - A list of warnings that occurred during the lending analysis operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • warnings

      A list of warnings that occurred during the lending analysis operation.

      This is a convenience method that creates an instance of the Warning.Builder avoiding the need to create one manually via Warning.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to warnings(List<Warning>).

      Parameters:
      warnings - a consumer that will call methods on Warning.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      GetLendingAnalysisResponse.Builder statusMessage(String statusMessage)

      Returns if the lending analysis job could not be completed. Contains explanation for what error occurred.

      Parameters:
      statusMessage - Returns if the lending analysis job could not be completed. Contains explanation for what error occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • analyzeLendingModelVersion

      GetLendingAnalysisResponse.Builder analyzeLendingModelVersion(String analyzeLendingModelVersion)

      The current model version of the Analyze Lending API.

      Parameters:
      analyzeLendingModelVersion - The current model version of the Analyze Lending API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.