Package ai.extend.types
Class ProvidedSplitOutputSplitsItem.Builder
- java.lang.Object
-
- ai.extend.types.ProvidedSplitOutputSplitsItem.Builder
-
- All Implemented Interfaces:
ProvidedSplitOutputSplitsItem._FinalStage,ProvidedSplitOutputSplitsItem.ClassificationIdStage,ProvidedSplitOutputSplitsItem.EndPageStage,ProvidedSplitOutputSplitsItem.StartPageStage,ProvidedSplitOutputSplitsItem.TypeStage
- Enclosing class:
- ProvidedSplitOutputSplitsItem
public static final class ProvidedSplitOutputSplitsItem.Builder extends java.lang.Object implements ProvidedSplitOutputSplitsItem.ClassificationIdStage, ProvidedSplitOutputSplitsItem.TypeStage, ProvidedSplitOutputSplitsItem.StartPageStage, ProvidedSplitOutputSplitsItem.EndPageStage, ProvidedSplitOutputSplitsItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvidedSplitOutputSplitsItembuild()ProvidedSplitOutputSplitsItem.TypeStageclassificationId(java.lang.String classificationId)ID of the classification type (defined in the splitter config)ProvidedSplitOutputSplitsItem._FinalStageendPage(int endPage)The end page of the split documentProvidedSplitOutputSplitsItem.Builderfrom(ProvidedSplitOutputSplitsItem other)ProvidedSplitOutputSplitsItem.EndPageStagestartPage(int startPage)The start page of the split documentProvidedSplitOutputSplitsItem.StartPageStagetype(java.lang.String type)The type of the split document (defined in the splitter config), corresponds to the classificationId
-
-
-
Method Detail
-
from
public ProvidedSplitOutputSplitsItem.Builder from(ProvidedSplitOutputSplitsItem other)
- Specified by:
fromin interfaceProvidedSplitOutputSplitsItem.ClassificationIdStage
-
classificationId
public ProvidedSplitOutputSplitsItem.TypeStage classificationId(@NotNull java.lang.String classificationId)
ID of the classification type (defined in the splitter config)
ID of the classification type (defined in the splitter config)
- Specified by:
classificationIdin interfaceProvidedSplitOutputSplitsItem.ClassificationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public ProvidedSplitOutputSplitsItem.StartPageStage type(@NotNull java.lang.String type)
The type of the split document (defined in the splitter config), corresponds to the classificationId
The type of the split document (defined in the splitter config), corresponds to the classificationId
- Specified by:
typein interfaceProvidedSplitOutputSplitsItem.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startPage
public ProvidedSplitOutputSplitsItem.EndPageStage startPage(int startPage)
The start page of the split document
The start page of the split document
- Specified by:
startPagein interfaceProvidedSplitOutputSplitsItem.StartPageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
endPage
public ProvidedSplitOutputSplitsItem._FinalStage endPage(int endPage)
The end page of the split document
The end page of the split document
- Specified by:
endPagein interfaceProvidedSplitOutputSplitsItem.EndPageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public ProvidedSplitOutputSplitsItem build()
- Specified by:
buildin interfaceProvidedSplitOutputSplitsItem._FinalStage
-
-