Class CompressPDFParams.Builder
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.compresspdf.CompressPDFParams.Builder
-
- Enclosing class:
- CompressPDFParams
public static class CompressPDFParams.Builder extends Object
Builds aCompressPDFParams
instance.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructs aCompressPDFParams.Builder
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompressPDFParams
build()
Returns a newCompressPDFParams
instance built from the current state of this builder.CompressPDFParams.Builder
withCompressionLevel(CompressionLevel compressionLevel)
Sets compression level to be used for Compress PDF, specified byCompressionLevel
.
-
-
-
Method Detail
-
withCompressionLevel
public CompressPDFParams.Builder withCompressionLevel(CompressionLevel compressionLevel)
Sets compression level to be used for Compress PDF, specified byCompressionLevel
.- Parameters:
compressionLevel
- seeCompressionLevel
; can not be null.- Returns:
- this Builder instance to add any additional parameters
-
build
public CompressPDFParams build()
Returns a newCompressPDFParams
instance built from the current state of this builder.- Returns:
- a new
CompressPDFParams
instance
-
-