Class FieldOptions.Builder
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.electronicseal.FieldOptions.Builder
-
- Enclosing class:
- FieldOptions
public static class FieldOptions.Builder extends Object
Builds aFieldOptions
instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldOptions
build()
Returns a newFieldOptions
instance built from the current state of this builder.FieldOptions.Builder
setFieldLocation(FieldLocation fieldLocation)
Sets the location for the seal field in the document.FieldOptions.Builder
setPageNumber(Integer pageNumber)
Sets the page number for seal.FieldOptions.Builder
setVisible(Boolean visible)
Sets the seal visibility flag.
-
-
-
Constructor Detail
-
Builder
public Builder(String fieldName)
Constructs aBuilder
instance.
-
-
Method Detail
-
setVisible
public FieldOptions.Builder setVisible(Boolean visible)
Sets the seal visibility flag. Specifies whether the signature field is visible. The default value of true creates a visible signature.- Parameters:
visible
- the seal visibility flag- Returns:
- this Builder instance to add any additional parameters
-
setFieldLocation
public FieldOptions.Builder setFieldLocation(FieldLocation fieldLocation)
Sets the location for the seal field in the document.- Parameters:
fieldLocation
- the seal field location instance- Returns:
- this Builder instance to add any additional parameters
-
setPageNumber
public FieldOptions.Builder setPageNumber(Integer pageNumber)
Sets the page number for seal.- Parameters:
pageNumber
- the page number of input pdf document- Returns:
- this Builder instance to add any additional parameters
-
build
public FieldOptions build()
Returns a newFieldOptions
instance built from the current state of this builder.- Returns:
- a new
FieldOptions
instance
-
-