Package com.pdfgate
Class FlattenPdfParams.Builder
java.lang.Object
com.pdfgate.FlattenPdfParams.Builder
- Enclosing class:
FlattenPdfParams
Builder for
FlattenPdfParams.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds flatten PDF parameters for JSON responses.documentId(String documentId) Sets the document ID for the source PDF.Sets metadata to attach to the document.preSignedUrlExpiresIn(Long preSignedUrlExpiresIn) Sets the pre-signed URL expiration time in seconds.
-
Method Details
-
documentId
Sets the document ID for the source PDF.- Parameters:
documentId- the document ID.- Returns:
- this builder.
-
preSignedUrlExpiresIn
Sets the pre-signed URL expiration time in seconds.- Parameters:
preSignedUrlExpiresIn- expiration time in seconds.- Returns:
- this builder.
-
metadata
Sets metadata to attach to the document.- Parameters:
metadata- metadata to attach to the document.- Returns:
- this builder.
-
build
Builds flatten PDF parameters for JSON responses.- Returns:
- parameters configured for JSON responses.
-