Interface ListUtteranceAnalyticsDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUtteranceAnalyticsDataResponse.Builder,,ListUtteranceAnalyticsDataResponse> LexModelsV2Response.Builder,SdkBuilder<ListUtteranceAnalyticsDataResponse.Builder,,ListUtteranceAnalyticsDataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUtteranceAnalyticsDataResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot that the utterances belong to.If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.utterances(Collection<UtteranceSpecification> utterances) A list of objects, each of which contains information about an utterance in a user session with your bot.utterances(Consumer<UtteranceSpecification.Builder>... utterances) A list of objects, each of which contains information about an utterance in a user session with your bot.utterances(UtteranceSpecification... utterances) A list of objects, each of which contains information about an utterance in a user session with your bot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.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
-
botId
The unique identifier of the bot that the utterances belong to.
- Parameters:
botId- The unique identifier of the bot that the utterances belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListUtteranceAnalyticsData request to return the next page of results. For a complete set of results, call the ListUtteranceAnalyticsData operation until the nextToken returned in the response is null.
- Parameters:
nextToken- If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.Use the returned token in the nextToken parameter of a ListUtteranceAnalyticsData request to return the next page of results. For a complete set of results, call the ListUtteranceAnalyticsData operation until the nextToken returned in the response is null.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utterances
ListUtteranceAnalyticsDataResponse.Builder utterances(Collection<UtteranceSpecification> utterances) A list of objects, each of which contains information about an utterance in a user session with your bot.
- Parameters:
utterances- A list of objects, each of which contains information about an utterance in a user session with your bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utterances
A list of objects, each of which contains information about an utterance in a user session with your bot.
- Parameters:
utterances- A list of objects, each of which contains information about an utterance in a user session with your bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utterances
ListUtteranceAnalyticsDataResponse.Builder utterances(Consumer<UtteranceSpecification.Builder>... utterances) A list of objects, each of which contains information about an utterance in a user session with your bot.
This is a convenience method that creates an instance of theUtteranceSpecification.Builderavoiding the need to create one manually viaUtteranceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toutterances(List<UtteranceSpecification>).- Parameters:
utterances- a consumer that will call methods onUtteranceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-