Class GetVoiceOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.text_to_speech.v1.model.GetVoiceOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetVoiceOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getVoice options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetVoiceOptions.Builder
Builder.static interface
GetVoiceOptions.Voice
The voice for which information is to be returned. -
Method Summary
Modifier and Type Method Description String
customizationId()
Gets the customizationId.GetVoiceOptions.Builder
newBuilder()
New builder.String
voice()
Gets the voice.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GetVoiceOptions builder
-
voice
Gets the voice.The voice for which information is to be returned. For more information about specifying a voice, see **Important voice updates for IBM Cloud** in the method description.
**IBM Cloud:** The Arabic, Chinese, Dutch, Australian English, and Korean languages and voices are supported only for IBM Cloud.
- Returns:
- the voice
-
customizationId
Gets the customizationId.The customization ID (GUID) of a custom model for which information is to be returned. You must make the request with credentials for the instance of the service that owns the custom model. Omit the parameter to see information about the specified voice with no customization.
- Returns:
- the customizationId
-