Interface GetDocumentContentResponse.Builder

  • Method Details

    • presignedUrl

      GetDocumentContentResponse.Builder presignedUrl(String presignedUrl)

      A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation.

      Parameters:
      presignedUrl - A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mimeType

      The MIME type of the document content (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document).

      Parameters:
      mimeType - The MIME type of the document content (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document).
      Returns:
      Returns a reference to this object so that method calls can be chained together.