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.
  • Method Details

    • newBuilder

      public GetVoiceOptions.Builder newBuilder()
      New builder.
      Returns:
      a GetVoiceOptions builder
    • voice

      public String 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

      public String 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