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.
  • Method Details

    • newBuilder

      public ListLanguageModelsOptions.Builder newBuilder()
      New builder.
      Returns:
      a ListLanguageModelsOptions builder
    • language

      public String 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-customization#languageSupport).

      Returns:
      the language