public class CreateVoiceModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateVoiceModelOptions.Builder
Builder.
|
static interface |
CreateVoiceModelOptions.Language
The language of the new custom voice model.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.lang.String |
language |
protected java.lang.String |
name |
Modifier | Constructor and Description |
---|---|
protected |
CreateVoiceModelOptions(CreateVoiceModelOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
language()
Gets the language.
|
java.lang.String |
name()
Gets the name.
|
CreateVoiceModelOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String name
protected java.lang.String language
protected java.lang.String description
protected CreateVoiceModelOptions(CreateVoiceModelOptions.Builder builder)
public CreateVoiceModelOptions.Builder newBuilder()
public java.lang.String name()
The name of the new custom voice model.
public java.lang.String language()
The language of the new custom voice model. You create a custom voice model for a specific language, not for a specific voice. A custom model can be used with any voice, standard or neural, for its specified language. Omit the parameter to use the the default language, `en-US`.
public java.lang.String description()
A description of the new custom voice model. Specifying a description is recommended.