Class TranscriptParams.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.transcripts.requests.TranscriptParams.Builder
-
- All Implemented Interfaces:
TranscriptParams._FinalStage,TranscriptParams.AudioUrlStage
- Enclosing class:
- TranscriptParams
public static final class TranscriptParams.Builder extends java.lang.Object implements TranscriptParams.AudioUrlStage, TranscriptParams._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscriptParams._FinalStageaudioEndAt(java.lang.Integer audioEndAt)The point in time, in milliseconds, to stop transcribing in your media fileTranscriptParams._FinalStageaudioEndAt(java.util.Optional<java.lang.Integer> audioEndAt)TranscriptParams._FinalStageaudioStartFrom(java.lang.Integer audioStartFrom)The point in time, in milliseconds, to begin transcribing in your media fileTranscriptParams._FinalStageaudioStartFrom(java.util.Optional<java.lang.Integer> audioStartFrom)TranscriptParams._FinalStageaudioUrl(java.lang.String audioUrl)The URL of the audio or video file to transcribe.TranscriptParams._FinalStageautoChapters(java.lang.Boolean autoChapters)Enable Auto Chapters, can be true or falseTranscriptParams._FinalStageautoChapters(java.util.Optional<java.lang.Boolean> autoChapters)TranscriptParams._FinalStageautoHighlights(java.lang.Boolean autoHighlights)Whether Key Phrases is enabled, either true or falseTranscriptParams._FinalStageautoHighlights(java.util.Optional<java.lang.Boolean> autoHighlights)TranscriptParams._FinalStageboostParam(TranscriptBoostParam boostParam)The word boost parameter valueTranscriptParams._FinalStageboostParam(java.util.Optional<TranscriptBoostParam> boostParam)TranscriptParamsbuild()TranscriptParams._FinalStagecontentSafety(java.lang.Boolean contentSafety)Enable Content Moderation, can be true or falseTranscriptParams._FinalStagecontentSafety(java.util.Optional<java.lang.Boolean> contentSafety)TranscriptParams._FinalStagecontentSafetyConfidence(java.lang.Integer contentSafetyConfidence)The confidence threshold for content moderation.TranscriptParams._FinalStagecontentSafetyConfidence(java.util.Optional<java.lang.Integer> contentSafetyConfidence)TranscriptParams._FinalStagecustomSpelling(java.util.List<TranscriptCustomSpelling> customSpelling)Customize how words are spelled and formatted using to and from valuesTranscriptParams._FinalStagecustomSpelling(java.util.Optional<java.util.List<TranscriptCustomSpelling>> customSpelling)TranscriptParams._FinalStagecustomTopics(java.lang.Boolean customTopics)Whether custom topics is enabled, either true or falseTranscriptParams._FinalStagecustomTopics(java.util.Optional<java.lang.Boolean> customTopics)TranscriptParams._FinalStagedisfluencies(java.lang.Boolean disfluencies)Transcribe Filler Words, like "umm", in your media file; can be true or falseTranscriptParams._FinalStagedisfluencies(java.util.Optional<java.lang.Boolean> disfluencies)TranscriptParams._FinalStagedualChannel(java.lang.Boolean dualChannel)Enable Dual Channel transcription, can be true or false.TranscriptParams._FinalStagedualChannel(java.util.Optional<java.lang.Boolean> dualChannel)TranscriptParams._FinalStageentityDetection(java.lang.Boolean entityDetection)Enable Entity Detection, can be true or falseTranscriptParams._FinalStageentityDetection(java.util.Optional<java.lang.Boolean> entityDetection)TranscriptParams._FinalStagefilterProfanity(java.lang.Boolean filterProfanity)Filter profanity from the transcribed text, can be true or falseTranscriptParams._FinalStagefilterProfanity(java.util.Optional<java.lang.Boolean> filterProfanity)TranscriptParams._FinalStageformatText(java.lang.Boolean formatText)Enable Text Formatting, can be true or falseTranscriptParams._FinalStageformatText(java.util.Optional<java.lang.Boolean> formatText)TranscriptParams.Builderfrom(TranscriptParams other)TranscriptParams._FinalStageiabCategories(java.lang.Boolean iabCategories)Enable Topic Detection, can be true or falseTranscriptParams._FinalStageiabCategories(java.util.Optional<java.lang.Boolean> iabCategories)TranscriptParams._FinalStagelanguageCode(TranscriptLanguageCode languageCode)TranscriptParams._FinalStagelanguageCode(java.util.Optional<TranscriptLanguageCode> languageCode)TranscriptParams._FinalStagelanguageDetection(java.lang.Boolean languageDetection)Whether Automatic language detection was enabled in the transcription request, either true or false.TranscriptParams._FinalStagelanguageDetection(java.util.Optional<java.lang.Boolean> languageDetection)TranscriptParams._FinalStagepunctuate(java.lang.Boolean punctuate)Enable Automatic Punctuation, can be true or falseTranscriptParams._FinalStagepunctuate(java.util.Optional<java.lang.Boolean> punctuate)TranscriptParams._FinalStageredactPii(java.lang.Boolean redactPii)Redact PII from the transcribed text using the Redact PII model, can be true or falseTranscriptParams._FinalStageredactPii(java.util.Optional<java.lang.Boolean> redactPii)TranscriptParams._FinalStageredactPiiAudio(java.lang.Boolean redactPiiAudio)Generate a copy of the original media file with spoken PII "beeped" out, can be true or false.TranscriptParams._FinalStageredactPiiAudio(java.util.Optional<java.lang.Boolean> redactPiiAudio)TranscriptParams._FinalStageredactPiiAudioQuality(RedactPiiAudioQuality redactPiiAudioQuality)Controls the filetype of the audio created by redact_pii_audio.TranscriptParams._FinalStageredactPiiAudioQuality(java.util.Optional<RedactPiiAudioQuality> redactPiiAudioQuality)TranscriptParams._FinalStageredactPiiPolicies(java.util.List<PiiPolicy> redactPiiPolicies)The list of PII Redaction policies to enable.TranscriptParams._FinalStageredactPiiPolicies(java.util.Optional<java.util.List<PiiPolicy>> redactPiiPolicies)TranscriptParams._FinalStageredactPiiSub(SubstitutionPolicy redactPiiSub)TranscriptParams._FinalStageredactPiiSub(java.util.Optional<SubstitutionPolicy> redactPiiSub)TranscriptParams._FinalStagesentimentAnalysis(java.lang.Boolean sentimentAnalysis)Enable Sentiment Analysis, can be true or falseTranscriptParams._FinalStagesentimentAnalysis(java.util.Optional<java.lang.Boolean> sentimentAnalysis)TranscriptParams._FinalStagespeakerLabels(java.lang.Boolean speakerLabels)Enable Speaker diarization, can be true or falseTranscriptParams._FinalStagespeakerLabels(java.util.Optional<java.lang.Boolean> speakerLabels)TranscriptParams._FinalStagespeakersExpected(java.lang.Integer speakersExpected)Tells the speaker label model how many speakers it should attempt to identify, up to 10.TranscriptParams._FinalStagespeakersExpected(java.util.Optional<java.lang.Integer> speakersExpected)TranscriptParams._FinalStagespeechModel(SpeechModel speechModel)TranscriptParams._FinalStagespeechModel(java.util.Optional<SpeechModel> speechModel)TranscriptParams._FinalStagespeechThreshold(java.lang.Double speechThreshold)Reject audio files that contain less than this fraction of speech.TranscriptParams._FinalStagespeechThreshold(java.util.Optional<java.lang.Double> speechThreshold)TranscriptParams._FinalStagesummarization(java.lang.Boolean summarization)Enable Summarization, can be true or falseTranscriptParams._FinalStagesummarization(java.util.Optional<java.lang.Boolean> summarization)TranscriptParams._FinalStagesummaryModel(SummaryModel summaryModel)The model to summarize the transcriptTranscriptParams._FinalStagesummaryModel(java.util.Optional<SummaryModel> summaryModel)TranscriptParams._FinalStagesummaryType(SummaryType summaryType)The type of summaryTranscriptParams._FinalStagesummaryType(java.util.Optional<SummaryType> summaryType)TranscriptParams._FinalStagetopics(java.util.List<java.lang.String> topics)The list of custom topics provided, if custom topics is enabledTranscriptParams._FinalStagetopics(java.util.Optional<java.util.List<java.lang.String>> topics)TranscriptParams._FinalStagewebhookAuthHeaderName(java.lang.String webhookAuthHeaderName)The header name which should be sent back with webhook callsTranscriptParams._FinalStagewebhookAuthHeaderName(java.util.Optional<java.lang.String> webhookAuthHeaderName)TranscriptParams._FinalStagewebhookAuthHeaderValue(java.lang.String webhookAuthHeaderValue)Specify a header name and value to send back with a webhook call for added securityTranscriptParams._FinalStagewebhookAuthHeaderValue(java.util.Optional<java.lang.String> webhookAuthHeaderValue)TranscriptParams._FinalStagewebhookUrl(java.lang.String webhookUrl)The URL to which AssemblyAI send webhooks upon trancription completionTranscriptParams._FinalStagewebhookUrl(java.util.Optional<java.lang.String> webhookUrl)TranscriptParams._FinalStagewordBoost(java.util.List<java.lang.String> wordBoost)The list of custom vocabulary to boost transcription probability forTranscriptParams._FinalStagewordBoost(java.util.Optional<java.util.List<java.lang.String>> wordBoost)
-
-
-
Method Detail
-
from
public TranscriptParams.Builder from(TranscriptParams other)
- Specified by:
fromin interfaceTranscriptParams.AudioUrlStage
-
audioUrl
public TranscriptParams._FinalStage audioUrl(java.lang.String audioUrl)
The URL of the audio or video file to transcribe.
- Specified by:
audioUrlin interfaceTranscriptParams.AudioUrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
topics
public TranscriptParams._FinalStage topics(java.util.List<java.lang.String> topics)
The list of custom topics provided, if custom topics is enabled
- Specified by:
topicsin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
topics
public TranscriptParams._FinalStage topics(java.util.Optional<java.util.List<java.lang.String>> topics)
- Specified by:
topicsin interfaceTranscriptParams._FinalStage
-
customTopics
public TranscriptParams._FinalStage customTopics(java.lang.Boolean customTopics)
Whether custom topics is enabled, either true or false
- Specified by:
customTopicsin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customTopics
public TranscriptParams._FinalStage customTopics(java.util.Optional<java.lang.Boolean> customTopics)
- Specified by:
customTopicsin interfaceTranscriptParams._FinalStage
-
summaryType
public TranscriptParams._FinalStage summaryType(SummaryType summaryType)
The type of summary
- Specified by:
summaryTypein interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
summaryType
public TranscriptParams._FinalStage summaryType(java.util.Optional<SummaryType> summaryType)
- Specified by:
summaryTypein interfaceTranscriptParams._FinalStage
-
summaryModel
public TranscriptParams._FinalStage summaryModel(SummaryModel summaryModel)
The model to summarize the transcript
- Specified by:
summaryModelin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
summaryModel
public TranscriptParams._FinalStage summaryModel(java.util.Optional<SummaryModel> summaryModel)
- Specified by:
summaryModelin interfaceTranscriptParams._FinalStage
-
summarization
public TranscriptParams._FinalStage summarization(java.lang.Boolean summarization)
Enable Summarization, can be true or false
- Specified by:
summarizationin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
summarization
public TranscriptParams._FinalStage summarization(java.util.Optional<java.lang.Boolean> summarization)
- Specified by:
summarizationin interfaceTranscriptParams._FinalStage
-
speechThreshold
public TranscriptParams._FinalStage speechThreshold(java.lang.Double speechThreshold)
Reject audio files that contain less than this fraction of speech. Valid values are in the range [0, 1] inclusive.
- Specified by:
speechThresholdin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
speechThreshold
public TranscriptParams._FinalStage speechThreshold(java.util.Optional<java.lang.Double> speechThreshold)
- Specified by:
speechThresholdin interfaceTranscriptParams._FinalStage
-
entityDetection
public TranscriptParams._FinalStage entityDetection(java.lang.Boolean entityDetection)
Enable Entity Detection, can be true or false
- Specified by:
entityDetectionin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
entityDetection
public TranscriptParams._FinalStage entityDetection(java.util.Optional<java.lang.Boolean> entityDetection)
- Specified by:
entityDetectionin interfaceTranscriptParams._FinalStage
-
autoChapters
public TranscriptParams._FinalStage autoChapters(java.lang.Boolean autoChapters)
Enable Auto Chapters, can be true or false
- Specified by:
autoChaptersin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
autoChapters
public TranscriptParams._FinalStage autoChapters(java.util.Optional<java.lang.Boolean> autoChapters)
- Specified by:
autoChaptersin interfaceTranscriptParams._FinalStage
-
sentimentAnalysis
public TranscriptParams._FinalStage sentimentAnalysis(java.lang.Boolean sentimentAnalysis)
Enable Sentiment Analysis, can be true or false
- Specified by:
sentimentAnalysisin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sentimentAnalysis
public TranscriptParams._FinalStage sentimentAnalysis(java.util.Optional<java.lang.Boolean> sentimentAnalysis)
- Specified by:
sentimentAnalysisin interfaceTranscriptParams._FinalStage
-
disfluencies
public TranscriptParams._FinalStage disfluencies(java.lang.Boolean disfluencies)
Transcribe Filler Words, like "umm", in your media file; can be true or false
- Specified by:
disfluenciesin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
disfluencies
public TranscriptParams._FinalStage disfluencies(java.util.Optional<java.lang.Boolean> disfluencies)
- Specified by:
disfluenciesin interfaceTranscriptParams._FinalStage
-
customSpelling
public TranscriptParams._FinalStage customSpelling(java.util.List<TranscriptCustomSpelling> customSpelling)
Customize how words are spelled and formatted using to and from values
- Specified by:
customSpellingin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customSpelling
public TranscriptParams._FinalStage customSpelling(java.util.Optional<java.util.List<TranscriptCustomSpelling>> customSpelling)
- Specified by:
customSpellingin interfaceTranscriptParams._FinalStage
-
languageDetection
public TranscriptParams._FinalStage languageDetection(java.lang.Boolean languageDetection)
Whether Automatic language detection was enabled in the transcription request, either true or false.
- Specified by:
languageDetectionin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
languageDetection
public TranscriptParams._FinalStage languageDetection(java.util.Optional<java.lang.Boolean> languageDetection)
- Specified by:
languageDetectionin interfaceTranscriptParams._FinalStage
-
iabCategories
public TranscriptParams._FinalStage iabCategories(java.lang.Boolean iabCategories)
Enable Topic Detection, can be true or false
- Specified by:
iabCategoriesin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iabCategories
public TranscriptParams._FinalStage iabCategories(java.util.Optional<java.lang.Boolean> iabCategories)
- Specified by:
iabCategoriesin interfaceTranscriptParams._FinalStage
-
contentSafetyConfidence
public TranscriptParams._FinalStage contentSafetyConfidence(java.lang.Integer contentSafetyConfidence)
The confidence threshold for content moderation. Values must be between 25 and 100.
- Specified by:
contentSafetyConfidencein interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentSafetyConfidence
public TranscriptParams._FinalStage contentSafetyConfidence(java.util.Optional<java.lang.Integer> contentSafetyConfidence)
- Specified by:
contentSafetyConfidencein interfaceTranscriptParams._FinalStage
-
contentSafety
public TranscriptParams._FinalStage contentSafety(java.lang.Boolean contentSafety)
Enable Content Moderation, can be true or false
- Specified by:
contentSafetyin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentSafety
public TranscriptParams._FinalStage contentSafety(java.util.Optional<java.lang.Boolean> contentSafety)
- Specified by:
contentSafetyin interfaceTranscriptParams._FinalStage
-
speakersExpected
public TranscriptParams._FinalStage speakersExpected(java.lang.Integer speakersExpected)
Tells the speaker label model how many speakers it should attempt to identify, up to 10. See Speaker diarization for more details.
- Specified by:
speakersExpectedin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
speakersExpected
public TranscriptParams._FinalStage speakersExpected(java.util.Optional<java.lang.Integer> speakersExpected)
- Specified by:
speakersExpectedin interfaceTranscriptParams._FinalStage
-
speakerLabels
public TranscriptParams._FinalStage speakerLabels(java.lang.Boolean speakerLabels)
Enable Speaker diarization, can be true or false
- Specified by:
speakerLabelsin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
speakerLabels
public TranscriptParams._FinalStage speakerLabels(java.util.Optional<java.lang.Boolean> speakerLabels)
- Specified by:
speakerLabelsin interfaceTranscriptParams._FinalStage
-
redactPiiSub
public TranscriptParams._FinalStage redactPiiSub(SubstitutionPolicy redactPiiSub)
- Specified by:
redactPiiSubin interfaceTranscriptParams._FinalStage
-
redactPiiSub
public TranscriptParams._FinalStage redactPiiSub(java.util.Optional<SubstitutionPolicy> redactPiiSub)
- Specified by:
redactPiiSubin interfaceTranscriptParams._FinalStage
-
redactPiiPolicies
public TranscriptParams._FinalStage redactPiiPolicies(java.util.List<PiiPolicy> redactPiiPolicies)
The list of PII Redaction policies to enable. See PII redaction for more details.
- Specified by:
redactPiiPoliciesin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
redactPiiPolicies
public TranscriptParams._FinalStage redactPiiPolicies(java.util.Optional<java.util.List<PiiPolicy>> redactPiiPolicies)
- Specified by:
redactPiiPoliciesin interfaceTranscriptParams._FinalStage
-
redactPiiAudioQuality
public TranscriptParams._FinalStage redactPiiAudioQuality(RedactPiiAudioQuality redactPiiAudioQuality)
Controls the filetype of the audio created by redact_pii_audio. Currently supports mp3 (default) and wav. See PII redaction for more details.
- Specified by:
redactPiiAudioQualityin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
redactPiiAudioQuality
public TranscriptParams._FinalStage redactPiiAudioQuality(java.util.Optional<RedactPiiAudioQuality> redactPiiAudioQuality)
- Specified by:
redactPiiAudioQualityin interfaceTranscriptParams._FinalStage
-
redactPiiAudio
public TranscriptParams._FinalStage redactPiiAudio(java.lang.Boolean redactPiiAudio)
Generate a copy of the original media file with spoken PII "beeped" out, can be true or false. See PII redaction for more details.
- Specified by:
redactPiiAudioin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
redactPiiAudio
public TranscriptParams._FinalStage redactPiiAudio(java.util.Optional<java.lang.Boolean> redactPiiAudio)
- Specified by:
redactPiiAudioin interfaceTranscriptParams._FinalStage
-
redactPii
public TranscriptParams._FinalStage redactPii(java.lang.Boolean redactPii)
Redact PII from the transcribed text using the Redact PII model, can be true or false
- Specified by:
redactPiiin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
redactPii
public TranscriptParams._FinalStage redactPii(java.util.Optional<java.lang.Boolean> redactPii)
- Specified by:
redactPiiin interfaceTranscriptParams._FinalStage
-
filterProfanity
public TranscriptParams._FinalStage filterProfanity(java.lang.Boolean filterProfanity)
Filter profanity from the transcribed text, can be true or false
- Specified by:
filterProfanityin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
filterProfanity
public TranscriptParams._FinalStage filterProfanity(java.util.Optional<java.lang.Boolean> filterProfanity)
- Specified by:
filterProfanityin interfaceTranscriptParams._FinalStage
-
boostParam
public TranscriptParams._FinalStage boostParam(TranscriptBoostParam boostParam)
The word boost parameter value
- Specified by:
boostParamin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
boostParam
public TranscriptParams._FinalStage boostParam(java.util.Optional<TranscriptBoostParam> boostParam)
- Specified by:
boostParamin interfaceTranscriptParams._FinalStage
-
wordBoost
public TranscriptParams._FinalStage wordBoost(java.util.List<java.lang.String> wordBoost)
The list of custom vocabulary to boost transcription probability for
- Specified by:
wordBoostin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
wordBoost
public TranscriptParams._FinalStage wordBoost(java.util.Optional<java.util.List<java.lang.String>> wordBoost)
- Specified by:
wordBoostin interfaceTranscriptParams._FinalStage
-
audioEndAt
public TranscriptParams._FinalStage audioEndAt(java.lang.Integer audioEndAt)
The point in time, in milliseconds, to stop transcribing in your media file
- Specified by:
audioEndAtin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
audioEndAt
public TranscriptParams._FinalStage audioEndAt(java.util.Optional<java.lang.Integer> audioEndAt)
- Specified by:
audioEndAtin interfaceTranscriptParams._FinalStage
-
audioStartFrom
public TranscriptParams._FinalStage audioStartFrom(java.lang.Integer audioStartFrom)
The point in time, in milliseconds, to begin transcribing in your media file
- Specified by:
audioStartFromin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
audioStartFrom
public TranscriptParams._FinalStage audioStartFrom(java.util.Optional<java.lang.Integer> audioStartFrom)
- Specified by:
audioStartFromin interfaceTranscriptParams._FinalStage
-
autoHighlights
public TranscriptParams._FinalStage autoHighlights(java.lang.Boolean autoHighlights)
Whether Key Phrases is enabled, either true or false
- Specified by:
autoHighlightsin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
autoHighlights
public TranscriptParams._FinalStage autoHighlights(java.util.Optional<java.lang.Boolean> autoHighlights)
- Specified by:
autoHighlightsin interfaceTranscriptParams._FinalStage
-
webhookAuthHeaderValue
public TranscriptParams._FinalStage webhookAuthHeaderValue(java.lang.String webhookAuthHeaderValue)
Specify a header name and value to send back with a webhook call for added security
- Specified by:
webhookAuthHeaderValuein interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
webhookAuthHeaderValue
public TranscriptParams._FinalStage webhookAuthHeaderValue(java.util.Optional<java.lang.String> webhookAuthHeaderValue)
- Specified by:
webhookAuthHeaderValuein interfaceTranscriptParams._FinalStage
-
webhookAuthHeaderName
public TranscriptParams._FinalStage webhookAuthHeaderName(java.lang.String webhookAuthHeaderName)
The header name which should be sent back with webhook calls
- Specified by:
webhookAuthHeaderNamein interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
webhookAuthHeaderName
public TranscriptParams._FinalStage webhookAuthHeaderName(java.util.Optional<java.lang.String> webhookAuthHeaderName)
- Specified by:
webhookAuthHeaderNamein interfaceTranscriptParams._FinalStage
-
webhookUrl
public TranscriptParams._FinalStage webhookUrl(java.lang.String webhookUrl)
The URL to which AssemblyAI send webhooks upon trancription completion
- Specified by:
webhookUrlin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
webhookUrl
public TranscriptParams._FinalStage webhookUrl(java.util.Optional<java.lang.String> webhookUrl)
- Specified by:
webhookUrlin interfaceTranscriptParams._FinalStage
-
dualChannel
public TranscriptParams._FinalStage dualChannel(java.lang.Boolean dualChannel)
Enable Dual Channel transcription, can be true or false.
- Specified by:
dualChannelin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
dualChannel
public TranscriptParams._FinalStage dualChannel(java.util.Optional<java.lang.Boolean> dualChannel)
- Specified by:
dualChannelin interfaceTranscriptParams._FinalStage
-
formatText
public TranscriptParams._FinalStage formatText(java.lang.Boolean formatText)
Enable Text Formatting, can be true or false
- Specified by:
formatTextin interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
formatText
public TranscriptParams._FinalStage formatText(java.util.Optional<java.lang.Boolean> formatText)
- Specified by:
formatTextin interfaceTranscriptParams._FinalStage
-
punctuate
public TranscriptParams._FinalStage punctuate(java.lang.Boolean punctuate)
Enable Automatic Punctuation, can be true or false
- Specified by:
punctuatein interfaceTranscriptParams._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
punctuate
public TranscriptParams._FinalStage punctuate(java.util.Optional<java.lang.Boolean> punctuate)
- Specified by:
punctuatein interfaceTranscriptParams._FinalStage
-
languageCode
public TranscriptParams._FinalStage languageCode(TranscriptLanguageCode languageCode)
- Specified by:
languageCodein interfaceTranscriptParams._FinalStage
-
languageCode
public TranscriptParams._FinalStage languageCode(java.util.Optional<TranscriptLanguageCode> languageCode)
- Specified by:
languageCodein interfaceTranscriptParams._FinalStage
-
speechModel
public TranscriptParams._FinalStage speechModel(SpeechModel speechModel)
- Specified by:
speechModelin interfaceTranscriptParams._FinalStage
-
speechModel
public TranscriptParams._FinalStage speechModel(java.util.Optional<SpeechModel> speechModel)
- Specified by:
speechModelin interfaceTranscriptParams._FinalStage
-
build
public TranscriptParams build()
- Specified by:
buildin interfaceTranscriptParams._FinalStage
-
-