Class ListAcousticModelsOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.ListAcousticModelsOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ListAcousticModelsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The listAcousticModels options.
  • Method Details

    • newBuilder

      public ListAcousticModelsOptions.Builder newBuilder()
      New builder.
      Returns:
      a ListAcousticModelsOptions 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-custom-support#custom-language-support).

      Returns:
      the language