Class DocumentMergeParams.Builder
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.documentmerge.DocumentMergeParams.Builder
-
- Enclosing class:
- DocumentMergeParams
public static class DocumentMergeParams.Builder extends Object
Builds aDocumentMergeParams
instance.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructs aCompressPDFParams.Builder
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentMergeParams
build()
Returns a newDocumentMergeParams
instance built from the current state of this builder.DocumentMergeParams.Builder
withFragments(Fragments fragments)
Sets theFragments
for the document merge process.DocumentMergeParams.Builder
withJsonDataForMerge(org.json.JSONObject jsonDataForMerge)
Sets the input JSON data for the document merge process.DocumentMergeParams.Builder
withOutputFormat(OutputFormat outputFormat)
Sets theOutputFormat
for the document merge process.
-
-
-
Method Detail
-
withJsonDataForMerge
public DocumentMergeParams.Builder withJsonDataForMerge(org.json.JSONObject jsonDataForMerge)
Sets the input JSON data for the document merge process.- Parameters:
jsonDataForMerge
- json to be used in the document merge job; can not be null.- Returns:
- this Builder instance to add any additional parameters
-
withOutputFormat
public DocumentMergeParams.Builder withOutputFormat(OutputFormat outputFormat)
Sets theOutputFormat
for the document merge process.- Parameters:
outputFormat
- output format for the document merge result; can not be null.- Returns:
- this Builder instance to add any additional parameters
-
withFragments
public DocumentMergeParams.Builder withFragments(Fragments fragments)
Sets theFragments
for the document merge process.- Parameters:
fragments
- fragments for document merge job; can not be null.- Returns:
- this Builder instance to add any additional parameters
-
build
public DocumentMergeParams build()
Returns a newDocumentMergeParams
instance built from the current state of this builder.- Returns:
- a new
DocumentMergeParams
instance
-
-