Package com.oracle.bmc.aispeech.model
Class SynthesizeSpeechDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.aispeech.model.SynthesizeSpeechDetails.Builder
 
- 
- Enclosing class:
- SynthesizeSpeechDetails
 
 public static class SynthesizeSpeechDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SynthesizeSpeechDetails.BuilderaudioConfig(TtsAudioConfig audioConfig)SynthesizeSpeechDetailsbuild()SynthesizeSpeechDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment where the user has access to call SpeechSynthesize api.SynthesizeSpeechDetails.Builderconfiguration(TtsConfiguration configuration)SynthesizeSpeechDetails.Buildercopy(SynthesizeSpeechDetails model)SynthesizeSpeechDetails.BuilderisStreamEnabled(Boolean isStreamEnabled)If set to true, response will be sent in the chunked transfer-encoding and audio chunks are sent back as and when they are ready.SynthesizeSpeechDetails.Buildertext(String text)The text input to get the inference audio from TTS Service.
 
- 
- 
- 
Method Detail- 
textpublic SynthesizeSpeechDetails.Builder text(String text) The text input to get the inference audio from TTS Service.- Parameters:
- text- the value to set
- Returns:
- this builder
 
 - 
isStreamEnabledpublic SynthesizeSpeechDetails.Builder isStreamEnabled(Boolean isStreamEnabled) If set to true, response will be sent in the chunked transfer-encoding and audio chunks are sent back as and when they are ready.If set to false, response will be sent only once the entire audio is generated. - Parameters:
- isStreamEnabled- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SynthesizeSpeechDetails.Builder compartmentId(String compartmentId) The OCID of the compartment where the user has access to call SpeechSynthesize api.But default user access will be checked at tenancy level. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
configurationpublic SynthesizeSpeechDetails.Builder configuration(TtsConfiguration configuration) 
 - 
audioConfigpublic SynthesizeSpeechDetails.Builder audioConfig(TtsAudioConfig audioConfig) 
 - 
buildpublic SynthesizeSpeechDetails build() 
 - 
copypublic SynthesizeSpeechDetails.Builder copy(SynthesizeSpeechDetails model) 
 
- 
 
-