Package com.pdfgate
Class UploadFileParams.Builder
java.lang.Object
com.pdfgate.UploadFileParams.Builder
- Enclosing class:
UploadFileParams
Builder for
UploadFileParams.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds upload file parameters.Sets the file to upload.Sets metadata to attach to the document.preSignedUrlExpiresIn(Long preSignedUrlExpiresIn) Sets the pre-signed URL expiration time in seconds.Sets the URL of the file to upload.
-
Method Details
-
file
Sets the file to upload.- Parameters:
file- file payload to upload.- Returns:
- this builder.
-
url
Sets the URL of the file to upload.- Parameters:
url- URL of the file to upload.- Returns:
- this builder.
-
metadata
Sets metadata to attach to the document.- Parameters:
metadata- metadata to attach to the document.- Returns:
- this builder.
-
preSignedUrlExpiresIn
Sets the pre-signed URL expiration time in seconds.- Parameters:
preSignedUrlExpiresIn- expiration time in seconds.- Returns:
- this builder.
-
build
Builds upload file parameters.- Returns:
- upload file parameters.
-