Package com.saperion.connector.options
Class AdditionalOptions.AdditionalOptionsBuilder
- java.lang.Object
-
- com.saperion.connector.options.AdditionalOptions.AdditionalOptionsBuilder
-
- Enclosing class:
- AdditionalOptions
public static class AdditionalOptions.AdditionalOptionsBuilder extends java.lang.Object
BuildAdditionalOptions
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdditionalOptionsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalOptions.AdditionalOptionsBuilder
bpp(int bpp)
AdditionalOptions
build()
AdditionalOptions.AdditionalOptionsBuilder
dpi(int dpi)
AdditionalOptions.AdditionalOptionsBuilder
genericOptions(java.util.Map<java.lang.String,java.lang.Object> genericOptions)
AdditionalOptions.AdditionalOptionsBuilder
imageWidthAndHeight(int imageWidth, int imageHeight)
AdditionalOptions.AdditionalOptionsBuilder
pdfCompliance(PdfCompliance pdfCompliance)
AdditionalOptions.AdditionalOptionsBuilder
watermarkAlignment(WatermarkAlignment alignment)
AdditionalOptions.AdditionalOptionsBuilder
watermarkFile(java.lang.String watermarkFile)
AdditionalOptions.AdditionalOptionsBuilder
watermarkText(WatermarkText text)
-
-
-
Method Detail
-
bpp
public AdditionalOptions.AdditionalOptionsBuilder bpp(int bpp)
- Parameters:
bpp
- bitdepth in BPP- Returns:
- this builder
-
dpi
public AdditionalOptions.AdditionalOptionsBuilder dpi(int dpi)
- Parameters:
dpi
- resolution in DPI- Returns:
- this builder
-
pdfCompliance
public AdditionalOptions.AdditionalOptionsBuilder pdfCompliance(PdfCompliance pdfCompliance)
- Parameters:
pdfCompliance
- compliance mode for PDF renditions- Returns:
- this builder
-
watermarkFile
public AdditionalOptions.AdditionalOptionsBuilder watermarkFile(java.lang.String watermarkFile)
- Parameters:
watermarkFile
- file to use as watermark- Returns:
- this builder
-
watermarkText
public AdditionalOptions.AdditionalOptionsBuilder watermarkText(WatermarkText text)
- Parameters:
text
- text to use as watermark- Returns:
- this builder
-
watermarkAlignment
public AdditionalOptions.AdditionalOptionsBuilder watermarkAlignment(WatermarkAlignment alignment)
- Parameters:
alignment
- the alignment of the watermark. The default is middle-center.- Returns:
- this builder
-
imageWidthAndHeight
public AdditionalOptions.AdditionalOptionsBuilder imageWidthAndHeight(int imageWidth, int imageHeight)
- Parameters:
imageWidth
- width of image renditionsimageHeight
- height of image renditions- Returns:
- this builder
-
genericOptions
public AdditionalOptions.AdditionalOptionsBuilder genericOptions(java.util.Map<java.lang.String,java.lang.Object> genericOptions)
- Parameters:
genericOptions
- genric options for the render engine- Returns:
- this builder
-
build
public AdditionalOptions build()
- Returns:
- the final
AdditionalOptions
instance
-
-