Class ParagraphsResponse.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.ParagraphsResponse.Builder
-
- All Implemented Interfaces:
ParagraphsResponse._FinalStage,ParagraphsResponse.AudioDurationStage,ParagraphsResponse.ConfidenceStage,ParagraphsResponse.IdStage
- Enclosing class:
- ParagraphsResponse
public static final class ParagraphsResponse.Builder extends java.lang.Object implements ParagraphsResponse.IdStage, ParagraphsResponse.ConfidenceStage, ParagraphsResponse.AudioDurationStage, ParagraphsResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParagraphsResponse._FinalStageaddAllParagraphs(java.util.List<TranscriptParagraph> paragraphs)ParagraphsResponse._FinalStageaddParagraphs(TranscriptParagraph paragraphs)ParagraphsResponse._FinalStageaudioDuration(double audioDuration)ParagraphsResponsebuild()ParagraphsResponse.AudioDurationStageconfidence(double confidence)ParagraphsResponse.Builderfrom(ParagraphsResponse other)ParagraphsResponse.ConfidenceStageid(java.lang.String id)ParagraphsResponse._FinalStageparagraphs(java.util.List<TranscriptParagraph> paragraphs)
-
-
-
Method Detail
-
from
public ParagraphsResponse.Builder from(ParagraphsResponse other)
- Specified by:
fromin interfaceParagraphsResponse.IdStage
-
id
public ParagraphsResponse.ConfidenceStage id(java.lang.String id)
- Specified by:
idin interfaceParagraphsResponse.IdStage
-
confidence
public ParagraphsResponse.AudioDurationStage confidence(double confidence)
- Specified by:
confidencein interfaceParagraphsResponse.ConfidenceStage
-
audioDuration
public ParagraphsResponse._FinalStage audioDuration(double audioDuration)
- Specified by:
audioDurationin interfaceParagraphsResponse.AudioDurationStage
-
addAllParagraphs
public ParagraphsResponse._FinalStage addAllParagraphs(java.util.List<TranscriptParagraph> paragraphs)
- Specified by:
addAllParagraphsin interfaceParagraphsResponse._FinalStage
-
addParagraphs
public ParagraphsResponse._FinalStage addParagraphs(TranscriptParagraph paragraphs)
- Specified by:
addParagraphsin interfaceParagraphsResponse._FinalStage
-
paragraphs
public ParagraphsResponse._FinalStage paragraphs(java.util.List<TranscriptParagraph> paragraphs)
- Specified by:
paragraphsin interfaceParagraphsResponse._FinalStage
-
build
public ParagraphsResponse build()
- Specified by:
buildin interfaceParagraphsResponse._FinalStage
-
-