Interface GetDocumentContentResponse.Builder

  • Method Details

    • documentContentLength

      GetDocumentContentResponse.Builder documentContentLength(Long documentContentLength)

      The size of the document content in bytes available at the pre-signed URL.

      Parameters:
      documentContentLength - The size of the document content in bytes available at the pre-signed URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mimeType

      The MIME type of the document content. For RAW format, this is the original file type (for example, application/pdf). For EXTRACTED format, this is always application/json.

      Parameters:
      mimeType - The MIME type of the document content. For RAW format, this is the original file type (for example, application/pdf). For EXTRACTED format, this is always application/json.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • presignedUrl

      GetDocumentContentResponse.Builder presignedUrl(String presignedUrl)

      A pre-signed URL for downloading the document content. The URL expires after 5 minutes.

      Parameters:
      presignedUrl - A pre-signed URL for downloading the document content. The URL expires after 5 minutes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.