Class Chapter.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.Chapter.Builder
-
- All Implemented Interfaces:
Chapter._FinalStage,Chapter.EndStage,Chapter.GistStage,Chapter.HeadlineStage,Chapter.StartStage,Chapter.SummaryStage
- Enclosing class:
- Chapter
public static final class Chapter.Builder extends java.lang.Object implements Chapter.GistStage, Chapter.HeadlineStage, Chapter.SummaryStage, Chapter.StartStage, Chapter.EndStage, Chapter._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chapterbuild()Chapter._FinalStageend(int end)The starting time, in milliseconds, for the chapterChapter.Builderfrom(Chapter other)Chapter.HeadlineStagegist(java.lang.String gist)An ultra-short summary (just a few words) of the content spoken in the chapterChapter.SummaryStageheadline(java.lang.String headline)A single sentence summary of the content spoken during the chapterChapter.EndStagestart(int start)The starting time, in milliseconds, for the chapterChapter.StartStagesummary(java.lang.String summary)A one paragraph summary of the content spoken during the chapter
-
-
-
Method Detail
-
from
public Chapter.Builder from(Chapter other)
- Specified by:
fromin interfaceChapter.GistStage
-
gist
public Chapter.HeadlineStage gist(java.lang.String gist)
An ultra-short summary (just a few words) of the content spoken in the chapter
- Specified by:
gistin interfaceChapter.GistStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
headline
public Chapter.SummaryStage headline(java.lang.String headline)
A single sentence summary of the content spoken during the chapter
- Specified by:
headlinein interfaceChapter.HeadlineStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
summary
public Chapter.StartStage summary(java.lang.String summary)
A one paragraph summary of the content spoken during the chapter
- Specified by:
summaryin interfaceChapter.SummaryStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
start
public Chapter.EndStage start(int start)
The starting time, in milliseconds, for the chapter
- Specified by:
startin interfaceChapter.StartStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
end
public Chapter._FinalStage end(int end)
The starting time, in milliseconds, for the chapter
- Specified by:
endin interfaceChapter.EndStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Chapter build()
- Specified by:
buildin interfaceChapter._FinalStage
-
-