Class CreateCustomModelOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.text_to_speech.v1.model.CreateCustomModelOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateCustomModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCustomModel options.
  • Method Details

    • newBuilder

      public CreateCustomModelOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateCustomModelOptions builder
    • name

      public String name()
      Gets the name.

      The name of the new custom model.

      Returns:
      the name
    • language

      public String language()
      Gets the language.

      The language of the new custom model. You create a custom model for a specific language, not for a specific voice. A custom model can be used with any voice for its specified language. Omit the parameter to use the the default language, `en-US`. **Note:** The `ar-AR` language identifier cannot be used to create a custom model. Use the `ar-MS` identifier instead.

      Returns:
      the language
    • description

      public String description()
      Gets the description.

      A description of the new custom model. Specifying a description is recommended.

      Returns:
      the description