public static class CreateJobOptions.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
| CreateJobOptions.Builder()Instantiates a new builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateJobOptions.Builder | acousticCustomizationId(java.lang.String acousticCustomizationId)Set the acousticCustomizationId. | 
| CreateJobOptions.Builder | addKeyword(java.lang.String keyword)Adds an keyword to keywords. | 
| CreateJobOptions.Builder | audio(java.io.File audio)Set the audio. | 
| CreateJobOptions.Builder | audio(java.io.InputStream audio)Set the audio. | 
| CreateJobOptions | build()Builds a CreateJobOptions. | 
| CreateJobOptions.Builder | callbackUrl(java.lang.String callbackUrl)Set the callbackUrl. | 
| CreateJobOptions.Builder | contentType(java.lang.String contentType)Set the contentType. | 
| CreateJobOptions.Builder | customizationId(java.lang.String customizationId)Set the customizationId. | 
| CreateJobOptions.Builder | customizationWeight(java.lang.Double customizationWeight)Set the customizationWeight. | 
| CreateJobOptions.Builder | events(java.lang.String events)Set the events. | 
| CreateJobOptions.Builder | inactivityTimeout(long inactivityTimeout)Set the inactivityTimeout. | 
| CreateJobOptions.Builder | keywords(java.util.List<java.lang.String> keywords)Set the keywords. | 
| CreateJobOptions.Builder | keywordsThreshold(java.lang.Float keywordsThreshold)Set the keywordsThreshold. | 
| CreateJobOptions.Builder | maxAlternatives(long maxAlternatives)Set the maxAlternatives. | 
| CreateJobOptions.Builder | model(java.lang.String model)Set the model. | 
| CreateJobOptions.Builder | profanityFilter(java.lang.Boolean profanityFilter)Set the profanityFilter. | 
| CreateJobOptions.Builder | resultsTtl(long resultsTtl)Set the resultsTtl. | 
| CreateJobOptions.Builder | smartFormatting(java.lang.Boolean smartFormatting)Set the smartFormatting. | 
| CreateJobOptions.Builder | speakerLabels(java.lang.Boolean speakerLabels)Set the speakerLabels. | 
| CreateJobOptions.Builder | timestamps(java.lang.Boolean timestamps)Set the timestamps. | 
| CreateJobOptions.Builder | userToken(java.lang.String userToken)Set the userToken. | 
| CreateJobOptions.Builder | version(java.lang.String version)Set the version. | 
| CreateJobOptions.Builder | wordAlternativesThreshold(java.lang.Float wordAlternativesThreshold)Set the wordAlternativesThreshold. | 
| CreateJobOptions.Builder | wordConfidence(java.lang.Boolean wordConfidence)Set the wordConfidence. | 
public CreateJobOptions.Builder()
public CreateJobOptions build()
public CreateJobOptions.Builder addKeyword(java.lang.String keyword)
keyword - the new keywordpublic CreateJobOptions.Builder audio(java.io.InputStream audio)
audio - the audiopublic CreateJobOptions.Builder contentType(java.lang.String contentType)
contentType - the contentTypepublic CreateJobOptions.Builder model(java.lang.String model)
model - the modelpublic CreateJobOptions.Builder callbackUrl(java.lang.String callbackUrl)
callbackUrl - the callbackUrlpublic CreateJobOptions.Builder events(java.lang.String events)
events - the eventspublic CreateJobOptions.Builder userToken(java.lang.String userToken)
userToken - the userTokenpublic CreateJobOptions.Builder resultsTtl(long resultsTtl)
resultsTtl - the resultsTtlpublic CreateJobOptions.Builder customizationId(java.lang.String customizationId)
customizationId - the customizationIdpublic CreateJobOptions.Builder acousticCustomizationId(java.lang.String acousticCustomizationId)
acousticCustomizationId - the acousticCustomizationIdpublic CreateJobOptions.Builder version(java.lang.String version)
version - the versionpublic CreateJobOptions.Builder customizationWeight(java.lang.Double customizationWeight)
customizationWeight - the customizationWeightpublic CreateJobOptions.Builder inactivityTimeout(long inactivityTimeout)
inactivityTimeout - the inactivityTimeoutpublic CreateJobOptions.Builder keywords(java.util.List<java.lang.String> keywords)
keywords - the keywordspublic CreateJobOptions.Builder keywordsThreshold(java.lang.Float keywordsThreshold)
keywordsThreshold - the keywordsThresholdpublic CreateJobOptions.Builder maxAlternatives(long maxAlternatives)
maxAlternatives - the maxAlternativespublic CreateJobOptions.Builder wordAlternativesThreshold(java.lang.Float wordAlternativesThreshold)
wordAlternativesThreshold - the wordAlternativesThresholdpublic CreateJobOptions.Builder wordConfidence(java.lang.Boolean wordConfidence)
wordConfidence - the wordConfidencepublic CreateJobOptions.Builder timestamps(java.lang.Boolean timestamps)
timestamps - the timestampspublic CreateJobOptions.Builder profanityFilter(java.lang.Boolean profanityFilter)
profanityFilter - the profanityFilterpublic CreateJobOptions.Builder smartFormatting(java.lang.Boolean smartFormatting)
smartFormatting - the smartFormattingpublic CreateJobOptions.Builder speakerLabels(java.lang.Boolean speakerLabels)
speakerLabels - the speakerLabelspublic CreateJobOptions.Builder audio(java.io.File audio) throws java.io.FileNotFoundException
audio - the audiojava.io.FileNotFoundException - if the file could not be found