Package ai.extend.types
Class ParentSplit.Builder
- java.lang.Object
-
- ai.extend.types.ParentSplit.Builder
-
- All Implemented Interfaces:
ParentSplit._FinalStage,ParentSplit.EndPageStage,ParentSplit.IdentifierStage,ParentSplit.IdStage,ParentSplit.StartPageStage,ParentSplit.TypeStage
- Enclosing class:
- ParentSplit
public static final class ParentSplit.Builder extends java.lang.Object implements ParentSplit.IdStage, ParentSplit.TypeStage, ParentSplit.IdentifierStage, ParentSplit.StartPageStage, ParentSplit.EndPageStage, ParentSplit._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParentSplitbuild()ParentSplit._FinalStageendPage(int endPage)The end page of the split.ParentSplit.Builderfrom(ParentSplit other)ParentSplit.TypeStageid(java.lang.String id)The ID of the split.ParentSplit.StartPageStageidentifier(java.lang.String identifier)The identifier of the split.ParentSplit.EndPageStagestartPage(int startPage)The start page of the split.ParentSplit.IdentifierStagetype(java.lang.String type)The type of the split.
-
-
-
Method Detail
-
from
public ParentSplit.Builder from(ParentSplit other)
- Specified by:
fromin interfaceParentSplit.IdStage
-
id
public ParentSplit.TypeStage id(@NotNull java.lang.String id)
The ID of the split.
The ID of the split.
- Specified by:
idin interfaceParentSplit.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public ParentSplit.IdentifierStage type(@NotNull java.lang.String type)
The type of the split.
The type of the split.
- Specified by:
typein interfaceParentSplit.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
identifier
public ParentSplit.StartPageStage identifier(@NotNull java.lang.String identifier)
The identifier of the split.
The identifier of the split.
- Specified by:
identifierin interfaceParentSplit.IdentifierStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startPage
public ParentSplit.EndPageStage startPage(int startPage)
The start page of the split.
The start page of the split.
- Specified by:
startPagein interfaceParentSplit.StartPageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
endPage
public ParentSplit._FinalStage endPage(int endPage)
The end page of the split.
The end page of the split.
- Specified by:
endPagein interfaceParentSplit.EndPageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public ParentSplit build()
- Specified by:
buildin interfaceParentSplit._FinalStage
-
-