Class ListLanguageModelsOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.ListLanguageModelsOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ListLanguageModelsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The listLanguageModels options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListLanguageModelsOptions.Builder
Builder.static interface
ListLanguageModelsOptions.Language
The identifier of the language for which custom language or custom acoustic models are to be returned. -
Method Summary
Modifier and Type Method Description String
language()
Gets the language.ListLanguageModelsOptions.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 ListLanguageModelsOptions builder
-
language
Gets the language.The identifier of the language for which custom language or custom acoustic models are to be returned. Omit the parameter to see all custom language or custom acoustic models that are owned by the requesting credentials. (**Note:** The identifier `ar-AR` is deprecated; use `ar-MS` instead.)
To determine the languages for which customization is available, see [Language support for customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support).
- Returns:
- the language
-