Interface UtteranceList.Builder

  • Method Details

    • botVersion

      UtteranceList.Builder botVersion(String botVersion)

      The version of the bot that processed the list.

      Parameters:
      botVersion - The version of the bot that processed the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • utterances

      One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.

      Parameters:
      utterances - One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • utterances

      UtteranceList.Builder utterances(UtteranceData... utterances)

      One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.

      Parameters:
      utterances - One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • utterances

      One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to utterances(List<UtteranceData>).

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