Class SentencesResponse.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.types.SentencesResponse.Builder
-
- All Implemented Interfaces:
SentencesResponse._FinalStage,SentencesResponse.AudioDurationStage,SentencesResponse.ConfidenceStage,SentencesResponse.IdStage
- Enclosing class:
- SentencesResponse
public static final class SentencesResponse.Builder extends java.lang.Object implements SentencesResponse.IdStage, SentencesResponse.ConfidenceStage, SentencesResponse.AudioDurationStage, SentencesResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SentencesResponse._FinalStageaddAllSentences(java.util.List<TranscriptSentence> sentences)SentencesResponse._FinalStageaddSentences(TranscriptSentence sentences)SentencesResponse._FinalStageaudioDuration(double audioDuration)SentencesResponsebuild()SentencesResponse.AudioDurationStageconfidence(double confidence)SentencesResponse.Builderfrom(SentencesResponse other)SentencesResponse.ConfidenceStageid(java.lang.String id)SentencesResponse._FinalStagesentences(java.util.List<TranscriptSentence> sentences)
-
-
-
Method Detail
-
from
public SentencesResponse.Builder from(SentencesResponse other)
- Specified by:
fromin interfaceSentencesResponse.IdStage
-
id
public SentencesResponse.ConfidenceStage id(java.lang.String id)
- Specified by:
idin interfaceSentencesResponse.IdStage
-
confidence
public SentencesResponse.AudioDurationStage confidence(double confidence)
- Specified by:
confidencein interfaceSentencesResponse.ConfidenceStage
-
audioDuration
public SentencesResponse._FinalStage audioDuration(double audioDuration)
- Specified by:
audioDurationin interfaceSentencesResponse.AudioDurationStage
-
addAllSentences
public SentencesResponse._FinalStage addAllSentences(java.util.List<TranscriptSentence> sentences)
- Specified by:
addAllSentencesin interfaceSentencesResponse._FinalStage
-
addSentences
public SentencesResponse._FinalStage addSentences(TranscriptSentence sentences)
- Specified by:
addSentencesin interfaceSentencesResponse._FinalStage
-
sentences
public SentencesResponse._FinalStage sentences(java.util.List<TranscriptSentence> sentences)
- Specified by:
sentencesin interfaceSentencesResponse._FinalStage
-
build
public SentencesResponse build()
- Specified by:
buildin interfaceSentencesResponse._FinalStage
-
-