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