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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateCustomModelOptions.Builder
Builder.static interface
CreateCustomModelOptions.Language
The language of the new custom model. -
Method Summary
Modifier and Type Method Description String
description()
Gets the description.String
language()
Gets the language.String
name()
Gets the name.CreateCustomModelOptions.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateCustomModelOptions builder
-
name
Gets the name.The name of the new custom model.
- Returns:
- the name
-
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.
**IBM Cloud:** The Arabic, Chinese, Dutch, Australian English, and Korean languages and voices are supported only for IBM Cloud.
- Returns:
- the language
-
description
Gets the description.A description of the new custom model. Specifying a description is recommended.
- Returns:
- the description
-