Interface ListUtteranceAnalyticsDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUtteranceAnalyticsDataResponse.Builder,ListUtteranceAnalyticsDataResponse>,LexModelsV2Response.Builder,SdkBuilder<ListUtteranceAnalyticsDataResponse.Builder,ListUtteranceAnalyticsDataResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListUtteranceAnalyticsDataResponse
public static interface ListUtteranceAnalyticsDataResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListUtteranceAnalyticsDataResponse.Builder,ListUtteranceAnalyticsDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUtteranceAnalyticsDataResponse.BuilderbotId(String botId)The unique identifier of the bot that the utterances belong to.ListUtteranceAnalyticsDataResponse.BuildernextToken(String nextToken)If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.ListUtteranceAnalyticsDataResponse.Builderutterances(Collection<UtteranceSpecification> utterances)A list of objects, each of which contains information about an utterance in a user session with your bot.ListUtteranceAnalyticsDataResponse.Builderutterances(Consumer<UtteranceSpecification.Builder>... utterances)A list of objects, each of which contains information about an utterance in a user session with your bot.ListUtteranceAnalyticsDataResponse.Builderutterances(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.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 Detail
-
botId
ListUtteranceAnalyticsDataResponse.Builder botId(String 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
ListUtteranceAnalyticsDataResponse.Builder nextToken(String 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
ListUtteranceAnalyticsDataResponse.Builder utterances(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
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 to#utterances(List.) - 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:
#utterances(java.util.Collection)
-
-