Interface GetUtterancesViewResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetUtterancesViewResponse.Builder,GetUtterancesViewResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetUtterancesViewResponse.Builder,GetUtterancesViewResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetUtterancesViewResponse
public static interface GetUtterancesViewResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetUtterancesViewResponse.Builder,GetUtterancesViewResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetUtterancesViewResponse.BuilderbotName(String botName)The name of the bot for which utterance information was returned.GetUtterancesViewResponse.Builderutterances(Collection<UtteranceList> utterances)An array of UtteranceList objects, each containing a list of UtteranceData objects describing the utterances that were processed by your bot.GetUtterancesViewResponse.Builderutterances(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.GetUtterancesViewResponse.Builderutterances(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
botName
GetUtterancesViewResponse.Builder botName(String 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
GetUtterancesViewResponse.Builder 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. 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
GetUtterancesViewResponse.Builder utterances(UtteranceList... 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
GetUtterancesViewResponse.Builder 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. 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 to#utterances(List.) - 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:
#utterances(java.util.Collection)
-
-