Package ai.extend.types
Class BlockMetadataPage.Builder
- java.lang.Object
-
- ai.extend.types.BlockMetadataPage.Builder
-
- All Implemented Interfaces:
BlockMetadataPage._FinalStage,BlockMetadataPage.NumberStage
- Enclosing class:
- BlockMetadataPage
public static final class BlockMetadataPage.Builder extends java.lang.Object implements BlockMetadataPage.NumberStage, BlockMetadataPage._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockMetadataPagebuild()BlockMetadataPage.Builderfrom(BlockMetadataPage other)BlockMetadataPage._FinalStageheight(java.lang.Double height)The height of the page in points.BlockMetadataPage._FinalStageheight(java.util.Optional<java.lang.Double> height)The height of the page in points.BlockMetadataPage._FinalStagenumber(int number)The page number where this block appears.BlockMetadataPage._FinalStagewidth(java.lang.Double width)The width of the page in points.BlockMetadataPage._FinalStagewidth(java.util.Optional<java.lang.Double> width)The width of the page in points.
-
-
-
Method Detail
-
from
public BlockMetadataPage.Builder from(BlockMetadataPage other)
- Specified by:
fromin interfaceBlockMetadataPage.NumberStage
-
number
public BlockMetadataPage._FinalStage number(int number)
The page number where this block appears.
The page number where this block appears.
- Specified by:
numberin interfaceBlockMetadataPage.NumberStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
height
public BlockMetadataPage._FinalStage height(java.lang.Double height)
The height of the page in points.
- Specified by:
heightin interfaceBlockMetadataPage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
height
public BlockMetadataPage._FinalStage height(java.util.Optional<java.lang.Double> height)
The height of the page in points.
- Specified by:
heightin interfaceBlockMetadataPage._FinalStage
-
width
public BlockMetadataPage._FinalStage width(java.lang.Double width)
The width of the page in points.
- Specified by:
widthin interfaceBlockMetadataPage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
width
public BlockMetadataPage._FinalStage width(java.util.Optional<java.lang.Double> width)
The width of the page in points.
- Specified by:
widthin interfaceBlockMetadataPage._FinalStage
-
build
public BlockMetadataPage build()
- Specified by:
buildin interfaceBlockMetadataPage._FinalStage
-
-