Interface GetLendingAnalysisResponse.Builder

    • Method Detail

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

        GetLendingAnalysisResponse.Builder jobStatus​(String 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, JobStatus
      • jobStatus

        GetLendingAnalysisResponse.Builder jobStatus​(JobStatus 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, JobStatus
      • nextToken

        GetLendingAnalysisResponse.Builder nextToken​(String 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

        GetLendingAnalysisResponse.Builder results​(Collection<LendingResult> 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

        GetLendingAnalysisResponse.Builder results​(LendingResult... 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.
      • warnings

        GetLendingAnalysisResponse.Builder warnings​(Collection<Warning> 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

        GetLendingAnalysisResponse.Builder warnings​(Warning... 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.
      • 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.