Interface GetUtterancesViewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetUtterancesViewResponse.Builder,
,GetUtterancesViewResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetUtterancesViewResponse.Builder,
,GetUtterancesViewResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetUtterancesViewResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bot for which utterance information was returned.utterances
(Collection<UtteranceList> utterances) An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot.utterances
(Consumer<UtteranceList.Builder>... utterances) An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot.utterances
(UtteranceList... utterances) An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botName
The name of the bot for which utterance information was returned.
- Parameters:
botName
- The name of the bot for which utterance information was returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utterances
An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. The response contains a maximum of 100
UtteranceData
objects for each version. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.- Parameters:
utterances
- An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. The response contains a maximum of 100UtteranceData
objects for each version. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utterances
An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. The response contains a maximum of 100
UtteranceData
objects for each version. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.- Parameters:
utterances
- An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. The response contains a maximum of 100UtteranceData
objects for each version. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utterances
An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot. The response contains a maximum of 100
This is a convenience method that creates an instance of theUtteranceData
objects for each version. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.UtteranceList.Builder
avoiding the need to create one manually viaUtteranceList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toutterances(List<UtteranceList>)
.- Parameters:
utterances
- a consumer that will call methods onUtteranceList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-