public static interface UtteranceList.Builder extends SdkPojo, CopyableBuilder<UtteranceList.Builder,UtteranceList>
| Modifier and Type | Method and Description |
|---|---|
UtteranceList.Builder |
botVersion(String botVersion)
The version of the bot that processed the list.
|
UtteranceList.Builder |
utterances(Collection<UtteranceData> utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to
a bot.
|
UtteranceList.Builder |
utterances(Consumer<UtteranceData.Builder>... utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to
a bot.
|
UtteranceList.Builder |
utterances(UtteranceData... utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to
a bot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUtteranceList.Builder botVersion(String botVersion)
The version of the bot that processed the list.
botVersion - The version of the bot that processed the list.UtteranceList.Builder utterances(Collection<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.
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.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.
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.UtteranceList.Builder utterances(Consumer<UtteranceData.Builder>... 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 theUtteranceData.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.
utterances - a consumer that will call methods on
UtteranceData.Builder#utterances(java.util.Collection) Copyright © 2022. All rights reserved.