Class CreateCustomModelOptions

All Implemented Interfaces:

public class CreateCustomModelOptions
The createCustomModel options.
  • Method Details

    • newBuilder

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

      public String name()
      Gets the name.

      The name of the new custom model.

      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.

      the language
    • description

      public String description()
      Gets the description.

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

      the description