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 aRotatePagesParams
instance.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructs aRotatePagesParams.Builder
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RotatePagesParams
build()
Returns a newRotatePagesParams
instance built from the current state of this builder.RotatePagesParams.Builder
withAngleToRotatePagesBy(Angle angle)
Sets theAngle
to be used for rotating pages.RotatePagesParams.Builder
withAngleToRotatePagesBy(Angle angle, PageRanges pageRanges)
Sets theAngle
to be used for rotating pages specified inPageRanges
.
-
-
-
Method Detail
-
withAngleToRotatePagesBy
public RotatePagesParams.Builder withAngleToRotatePagesBy(Angle angle)
Sets theAngle
to 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 theAngle
to 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 newRotatePagesParams
instance built from the current state of this builder.- Returns:
- a new
RotatePagesParams
instance
-
-