public class CreateCustomModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateCustomModelOptions.Builder
Builder.
|
static interface |
CreateCustomModelOptions.Language
The language of the new custom 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 |
CreateCustomModelOptions(CreateCustomModelOptions.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.
|
CreateCustomModelOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String name
protected java.lang.String language
protected java.lang.String description
protected CreateCustomModelOptions(CreateCustomModelOptions.Builder builder)
public CreateCustomModelOptions.Builder newBuilder()
public java.lang.String name()
The name of the new custom model.
public java.lang.String 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, 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 model. Specifying a description is recommended.