Package ai.extend.types
Class FileContentsSectionsItem.Builder
- java.lang.Object
-
- ai.extend.types.FileContentsSectionsItem.Builder
-
- All Implemented Interfaces:
FileContentsSectionsItem._FinalStage,FileContentsSectionsItem.EndPageNumberStage,FileContentsSectionsItem.MarkdownStage,FileContentsSectionsItem.StartPageNumberStage
- Enclosing class:
- FileContentsSectionsItem
public static final class FileContentsSectionsItem.Builder extends java.lang.Object implements FileContentsSectionsItem.StartPageNumberStage, FileContentsSectionsItem.EndPageNumberStage, FileContentsSectionsItem.MarkdownStage, FileContentsSectionsItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContentsSectionsItembuild()FileContentsSectionsItem.MarkdownStageendPageNumber(int endPageNumber)The ending page number of this section.FileContentsSectionsItem.Builderfrom(FileContentsSectionsItem other)FileContentsSectionsItem._FinalStagemarkdown(java.lang.String markdown)The markdown content of this section.FileContentsSectionsItem.EndPageNumberStagestartPageNumber(int startPageNumber)The starting page number of this section.
-
-
-
Method Detail
-
from
public FileContentsSectionsItem.Builder from(FileContentsSectionsItem other)
- Specified by:
fromin interfaceFileContentsSectionsItem.StartPageNumberStage
-
startPageNumber
public FileContentsSectionsItem.EndPageNumberStage startPageNumber(int startPageNumber)
The starting page number of this section.
The starting page number of this section.
- Specified by:
startPageNumberin interfaceFileContentsSectionsItem.StartPageNumberStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
endPageNumber
public FileContentsSectionsItem.MarkdownStage endPageNumber(int endPageNumber)
The ending page number of this section.
The ending page number of this section.
- Specified by:
endPageNumberin interfaceFileContentsSectionsItem.EndPageNumberStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
markdown
public FileContentsSectionsItem._FinalStage markdown(@NotNull java.lang.String markdown)
The markdown content of this section.
The markdown content of this section.
- Specified by:
markdownin interfaceFileContentsSectionsItem.MarkdownStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public FileContentsSectionsItem build()
- Specified by:
buildin interfaceFileContentsSectionsItem._FinalStage
-
-