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 | Method and Description |
---|---|
String |
description()
Gets the description.
|
String |
language()
Gets the language.
|
String |
name()
Gets the name.
|
CreateCustomModelOptions.Builder |
newBuilder()
New builder.
|
public CreateCustomModelOptions.Builder newBuilder()
public String name()
The name of the new custom model.
public 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 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.
public String description()
A description of the new custom model. Specifying a description is recommended.
Copyright © 2021 IBM Cloud. All rights reserved.