public class TextToSpeech extends WatsonService
defaultHeaders, MESSAGE_CODE, MESSAGE_ERROR, skipAuthentication, VERSION| Constructor and Description | 
|---|
| TextToSpeech()Instantiates a new `TextToSpeech`. | 
| TextToSpeech(IamOptions iamOptions)Instantiates a new `TextToSpeech` with IAM. | 
| TextToSpeech(java.lang.String username,
            java.lang.String password)Instantiates a new `TextToSpeech` with username and password. | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceCall<java.lang.Void> | addWord(AddWordOptions addWordOptions)Add a custom word. | 
| ServiceCall<java.lang.Void> | addWords(AddWordsOptions addWordsOptions)Add custom words. | 
| ServiceCall<VoiceModel> | createVoiceModel(CreateVoiceModelOptions createVoiceModelOptions)Create a custom model. | 
| ServiceCall<java.lang.Void> | deleteVoiceModel(DeleteVoiceModelOptions deleteVoiceModelOptions)Delete a custom model. | 
| ServiceCall<java.lang.Void> | deleteWord(DeleteWordOptions deleteWordOptions)Delete a custom word. | 
| ServiceCall<Pronunciation> | getPronunciation(GetPronunciationOptions getPronunciationOptions)Get pronunciation. | 
| ServiceCall<Voice> | getVoice(GetVoiceOptions getVoiceOptions)Get a voice. | 
| ServiceCall<VoiceModel> | getVoiceModel(GetVoiceModelOptions getVoiceModelOptions)Get a custom model. | 
| ServiceCall<Translation> | getWord(GetWordOptions getWordOptions)Get a custom word. | 
| ServiceCall<VoiceModels> | listVoiceModels()List custom models. | 
| ServiceCall<VoiceModels> | listVoiceModels(ListVoiceModelsOptions listVoiceModelsOptions)List custom models. | 
| ServiceCall<Voices> | listVoices()List voices. | 
| ServiceCall<Voices> | listVoices(ListVoicesOptions listVoicesOptions)List voices. | 
| ServiceCall<Words> | listWords(ListWordsOptions listWordsOptions)List custom words. | 
| ServiceCall<java.io.InputStream> | synthesize(SynthesizeOptions synthesizeOptions)Synthesize audio. | 
| ServiceCall<java.lang.Void> | updateVoiceModel(UpdateVoiceModelOptions updateVoiceModelOptions)Update a custom model. | 
configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getPassword, getToken, getUsername, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toStringpublic TextToSpeech()
public TextToSpeech(java.lang.String username,
            java.lang.String password)
username - the usernamepassword - the passwordpublic TextToSpeech(IamOptions iamOptions)
iamOptions - the options for authenticating through IAMpublic ServiceCall<Voice> getVoice(GetVoiceOptions getVoiceOptions)
getVoiceOptions - the GetVoiceOptions containing the options for the callServiceCall with a response type of Voicepublic ServiceCall<Voices> listVoices(ListVoicesOptions listVoicesOptions)
listVoicesOptions - the ListVoicesOptions containing the options for the callServiceCall with a response type of Voicespublic ServiceCall<Voices> listVoices()
ServiceCall with a response type of Voicespublic ServiceCall<java.io.InputStream> synthesize(SynthesizeOptions synthesizeOptions)
synthesizeOptions - the SynthesizeOptions containing the options for the callServiceCall with a response type of InputStreampublic ServiceCall<Pronunciation> getPronunciation(GetPronunciationOptions getPronunciationOptions)
getPronunciationOptions - the GetPronunciationOptions containing the options for the callServiceCall with a response type of Pronunciationpublic ServiceCall<VoiceModel> createVoiceModel(CreateVoiceModelOptions createVoiceModelOptions)
createVoiceModelOptions - the CreateVoiceModelOptions containing the options for the callServiceCall with a response type of VoiceModelpublic ServiceCall<java.lang.Void> deleteVoiceModel(DeleteVoiceModelOptions deleteVoiceModelOptions)
deleteVoiceModelOptions - the DeleteVoiceModelOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<VoiceModel> getVoiceModel(GetVoiceModelOptions getVoiceModelOptions)
getVoiceModelOptions - the GetVoiceModelOptions containing the options for the callServiceCall with a response type of VoiceModelpublic ServiceCall<VoiceModels> listVoiceModels(ListVoiceModelsOptions listVoiceModelsOptions)
listVoiceModelsOptions - the ListVoiceModelsOptions containing the options for the callServiceCall with a response type of VoiceModelspublic ServiceCall<VoiceModels> listVoiceModels()
ServiceCall with a response type of VoiceModelspublic ServiceCall<java.lang.Void> updateVoiceModel(UpdateVoiceModelOptions updateVoiceModelOptions)
updateVoiceModelOptions - the UpdateVoiceModelOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<java.lang.Void> addWord(AddWordOptions addWordOptions)
addWordOptions - the AddWordOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<java.lang.Void> addWords(AddWordsOptions addWordsOptions)
addWordsOptions - the AddWordsOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<java.lang.Void> deleteWord(DeleteWordOptions deleteWordOptions)
deleteWordOptions - the DeleteWordOptions containing the options for the callServiceCall with a response type of Voidpublic ServiceCall<Translation> getWord(GetWordOptions getWordOptions)
getWordOptions - the GetWordOptions containing the options for the callServiceCall with a response type of Translationpublic ServiceCall<Words> listWords(ListWordsOptions listWordsOptions)
listWordsOptions - the ListWordsOptions containing the options for the callServiceCall with a response type of Words