Interface UtteranceList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UtteranceList.Builder,UtteranceList>,SdkBuilder<UtteranceList.Builder,UtteranceList>,SdkPojo
- Enclosing class:
- UtteranceList
public static interface UtteranceList.Builder extends SdkPojo, CopyableBuilder<UtteranceList.Builder,UtteranceList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UtteranceList.BuilderbotVersion(String botVersion)The version of the bot that processed the list.UtteranceList.Builderutterances(Collection<UtteranceData> utterances)One or more UtteranceData objects that contain information about the utterances that have been made to a bot.UtteranceList.Builderutterances(Consumer<UtteranceData.Builder>... utterances)One or more UtteranceData objects that contain information about the utterances that have been made to a bot.UtteranceList.Builderutterances(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, sdkFields
-
-
-
-
Method Detail
-
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
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.
- 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
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.Builderavoiding the need to create one manually viaUtteranceData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#utterances(List.) - 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:
#utterances(java.util.Collection)
-
-