Interface DescribeVocabularyResponse.Builder

  • Method Details

    • vocabulary

      A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.

      Parameters:
      vocabulary - A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vocabulary

      A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.

      This is a convenience method that creates an instance of the Vocabulary.Builder avoiding the need to create one manually via Vocabulary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vocabulary(Vocabulary).

      Parameters:
      vocabulary - a consumer that will call methods on Vocabulary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: