Class RotatePagesParams.Builder
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.rotatepages.RotatePagesParams.Builder
-
- Enclosing class:
- RotatePagesParams
public static class RotatePagesParams.Builder extends Object
Builds aRotatePagesParamsinstance.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructs aRotatePagesParams.Builderinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RotatePagesParamsbuild()Returns a newRotatePagesParamsinstance built from the current state of this builder.RotatePagesParams.BuilderwithAngleToRotatePagesBy(Angle angle)Sets theAngleto be used for rotating pages.RotatePagesParams.BuilderwithAngleToRotatePagesBy(Angle angle, PageRanges pageRanges)Sets theAngleto be used for rotating pages specified inPageRanges.
-
-
-
Method Detail
-
withAngleToRotatePagesBy
public RotatePagesParams.Builder withAngleToRotatePagesBy(Angle angle)
Sets theAngleto be used for rotating pages.- Parameters:
angle- seeAngle; can not be null.- Returns:
- this Builder instance to add any additional parameters
-
withAngleToRotatePagesBy
public RotatePagesParams.Builder withAngleToRotatePagesBy(Angle angle, PageRanges pageRanges)
Sets theAngleto be used for rotating pages specified inPageRanges.- Parameters:
angle- seeAngle; can not be null.pageRanges- seePageRanges; can not be null.- Returns:
- this Builder instance to add any additional parameters
-
build
public RotatePagesParams build()
Returns a newRotatePagesParamsinstance built from the current state of this builder.- Returns:
- a new
RotatePagesParamsinstance
-
-