Package com.pdfgate
Class UploadFileParams
java.lang.Object
com.pdfgate.UploadFileParams
Parameters for uploading a raw PDF file or URL to PDFGate.
Provide either file or url. If file is provided, it is
prioritized and sent as multipart form data.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UploadFileParams.Builderbuilder()Creates a new builder for upload file parameters.getFile()Returns the file payload to upload, if provided.Returns metadata to attach to the document.Returns the pre-signed URL expiration time in seconds, if provided.getUrl()Returns the URL to upload, if provided.
-
Method Details
-
builder
Creates a new builder for upload file parameters.- Returns:
- the builder for upload file parameters.
-
getFile
Returns the file payload to upload, if provided.- Returns:
- the file payload to upload, if provided.
-
getUrl
Returns the URL to upload, if provided.- Returns:
- the URL to upload, if provided.
-
getMetadata
Returns metadata to attach to the document.- Returns:
- metadata to attach to the document.
-
getPreSignedUrlExpiresIn
Returns the pre-signed URL expiration time in seconds, if provided.- Returns:
- the pre-signed URL expiration time in seconds, if provided.
-