Package com.oracle.bmc.aispeech.model
Class TtsOracleSpeechSettings.Builder
- java.lang.Object
- 
- com.oracle.bmc.aispeech.model.TtsOracleSpeechSettings.Builder
 
- 
- Enclosing class:
- TtsOracleSpeechSettings
 
 public static class TtsOracleSpeechSettings.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TtsOracleSpeechSettingsbuild()TtsOracleSpeechSettings.Buildercopy(TtsOracleSpeechSettings model)TtsOracleSpeechSettings.BuilderoutputFormat(TtsOracleSpeechSettings.OutputFormat outputFormat)The format of audio in which the user wants the audio to be in.TtsOracleSpeechSettings.BuildersampleRateInHz(Integer sampleRateInHz)The sample rate of the generated audio.TtsOracleSpeechSettings.BuilderspeechMarkTypes(List<TtsOracleSpeechSettings.SpeechMarkTypes> speechMarkTypes)The kind of time stamp markings the user wants for the audio.TtsOracleSpeechSettings.BuildertextType(TtsOracleSpeechSettings.TextType textType)The format in which the input text has been supplied i.e., Text or SSML.
 
- 
- 
- 
Method Detail- 
textTypepublic TtsOracleSpeechSettings.Builder textType(TtsOracleSpeechSettings.TextType textType) The format in which the input text has been supplied i.e., Text or SSML.The supported text types are: - TEXT - SSML : This is only supported for en-US language. - Parameters:
- textType- the value to set
- Returns:
- this builder
 
 - 
sampleRateInHzpublic TtsOracleSpeechSettings.Builder sampleRateInHz(Integer sampleRateInHz) The sample rate of the generated audio.By default, the audio will be generated with speaker voice sample rate. - Parameters:
- sampleRateInHz- the value to set
- Returns:
- this builder
 
 - 
outputFormatpublic TtsOracleSpeechSettings.Builder outputFormat(TtsOracleSpeechSettings.OutputFormat outputFormat) The format of audio in which the user wants the audio to be in.The supported output formats are: - MP3 - OGG - PCM - JSON - Parameters:
- outputFormat- the value to set
- Returns:
- this builder
 
 - 
speechMarkTypespublic TtsOracleSpeechSettings.Builder speechMarkTypes(List<TtsOracleSpeechSettings.SpeechMarkTypes> speechMarkTypes) The kind of time stamp markings the user wants for the audio.This property should be provided if outputFormat is json, otherwise it will be ignored. null value (i.e. no value is not specified) indicates no speech marking. The supported speech mark types are: - SENTENCE - WORD - Parameters:
- speechMarkTypes- the value to set
- Returns:
- this builder
 
 - 
buildpublic TtsOracleSpeechSettings build() 
 - 
copypublic TtsOracleSpeechSettings.Builder copy(TtsOracleSpeechSettings model) 
 
- 
 
-