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
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
UtteranceDataobjects 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 100UtteranceDataobjects 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
UtteranceDataobjects 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 100UtteranceDataobjects 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 theUtteranceDataobjects for each version. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days.UtteranceList.Builderavoiding the need to create one manually viaUtteranceList.builder().When the
Consumercompletes,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:
-