Package ai.vectros.types
Class DocumentDownloadResponse.Builder
java.lang.Object
ai.vectros.types.DocumentDownloadResponse.Builder
- Enclosing class:
DocumentDownloadResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()downloadUrl(String downloadUrl) downloadUrl(Optional<String> downloadUrl) Presigned download URL for the original file.Epoch-millis (Unix milliseconds) timestamp at which the presigned URL expires.MIME type of the file, as captured at upload time.from(DocumentDownloadResponse other) Document ID.
-
Method Details
-
from
-
id
Document ID.
-
id
-
downloadUrl
Presigned download URL for the original file. Short-lived — fetch the file before the time given in
expires. -
downloadUrl
-
expires
Epoch-millis (Unix milliseconds) timestamp at which the presigned URL expires.
-
expires
-
fileType
MIME type of the file, as captured at upload time.
-
fileType
-
build
-
additionalProperty
-
additionalProperties
public DocumentDownloadResponse.Builder additionalProperties(Map<String, Object> additionalProperties)
-