Interface UtteranceList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UtteranceList.Builder,
,UtteranceList> SdkBuilder<UtteranceList.Builder,
,UtteranceList> SdkPojo
- Enclosing class:
UtteranceList
@Mutable
@NotThreadSafe
public static interface UtteranceList.Builder
extends SdkPojo, CopyableBuilder<UtteranceList.Builder,UtteranceList>
-
Method Summary
Modifier and TypeMethodDescriptionbotVersion
(String botVersion) The version of the bot that processed the list.utterances
(Collection<UtteranceData> utterances) One or more UtteranceData objects that contain information about the utterances that have been made to a bot.utterances
(Consumer<UtteranceData.Builder>... utterances) One or more UtteranceData objects that contain information about the utterances that have been made to a bot.utterances
(UtteranceData... utterances) One or more UtteranceData objects that contain information about the utterances that have been made to a bot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 theUtteranceData.Builder
avoiding the need to create one manually viaUtteranceData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toutterances(List<UtteranceData>)
.- Parameters:
utterances
- a consumer that will call methods onUtteranceData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-