Interface AudioLanguageConfiguration.Builder

  • Method Details

    • inputLanguagesWithStrings

      AudioLanguageConfiguration.Builder inputLanguagesWithStrings(Collection<String> inputLanguages)
      Sets the value of the InputLanguages property for this object.
      Parameters:
      inputLanguages - The new value for the InputLanguages property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputLanguagesWithStrings

      AudioLanguageConfiguration.Builder inputLanguagesWithStrings(String... inputLanguages)
      Sets the value of the InputLanguages property for this object.
      Parameters:
      inputLanguages - The new value for the InputLanguages property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputLanguages

      AudioLanguageConfiguration.Builder inputLanguages(Collection<Language> inputLanguages)
      Sets the value of the InputLanguages property for this object.
      Parameters:
      inputLanguages - The new value for the InputLanguages property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputLanguages

      AudioLanguageConfiguration.Builder inputLanguages(Language... inputLanguages)
      Sets the value of the InputLanguages property for this object.
      Parameters:
      inputLanguages - The new value for the InputLanguages property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generativeOutputLanguage

      AudioLanguageConfiguration.Builder generativeOutputLanguage(String generativeOutputLanguage)
      Sets the value of the GenerativeOutputLanguage property for this object.
      Parameters:
      generativeOutputLanguage - The new value for the GenerativeOutputLanguage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • generativeOutputLanguage

      AudioLanguageConfiguration.Builder generativeOutputLanguage(AudioGenerativeOutputLanguage generativeOutputLanguage)
      Sets the value of the GenerativeOutputLanguage property for this object.
      Parameters:
      generativeOutputLanguage - The new value for the GenerativeOutputLanguage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identifyMultipleLanguages

      AudioLanguageConfiguration.Builder identifyMultipleLanguages(Boolean identifyMultipleLanguages)

      Enable multiple language identification in audio

      Parameters:
      identifyMultipleLanguages - Enable multiple language identification in audio
      Returns:
      Returns a reference to this object so that method calls can be chained together.