public static interface UtteranceList.Builder extends 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.
|
copy
applyMutation, build
UtteranceList.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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #utterances(List)
.utterances
- a consumer that will call methods on List.Builder
#utterances(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.