Class ExportPDFParams.Builder
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.exportpdf.ExportPDFParams.Builder
-
- Enclosing class:
- ExportPDFParams
public static class ExportPDFParams.Builder extends Object
Builds anExportPDFParams
instance.
-
-
Constructor Summary
Constructors Constructor Description Builder(ExportPDFTargetFormat exportPDFTargetFormat)
Constructs aBuilder
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportPDFParams
build()
Returns a newExportPDFParams
instance built from the current state of this builder.ExportPDFParams.Builder
withExportOCRLocale(ExportOCRLocale exportOCRLocale)
Sets OCR Locale level to be used for Export PDF, specified byExportOCRLocale
.
-
-
-
Constructor Detail
-
Builder
public Builder(ExportPDFTargetFormat exportPDFTargetFormat)
Constructs aBuilder
instance.- Parameters:
exportPDFTargetFormat
- the target format to which the source PDF file will be exported, specified byExportPDFTargetFormat
; can not be null.
-
-
Method Detail
-
withExportOCRLocale
public ExportPDFParams.Builder withExportOCRLocale(ExportOCRLocale exportOCRLocale)
Sets OCR Locale level to be used for Export PDF, specified byExportOCRLocale
.- Parameters:
exportOCRLocale
- seeExportOCRLocale
.- Returns:
- this Builder instance to add any additional parameters
-
build
public ExportPDFParams build()
Returns a newExportPDFParams
instance built from the current state of this builder.- Returns:
- a new
ExportPDFParams
instance
-
-