Interface ListSessionAnalyticsDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSessionAnalyticsDataResponse.Builder,
,ListSessionAnalyticsDataResponse> LexModelsV2Response.Builder
,SdkBuilder<ListSessionAnalyticsDataResponse.Builder,
,ListSessionAnalyticsDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSessionAnalyticsDataResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot that the sessions belong to.If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.sessions
(Collection<SessionSpecification> sessions) A list of objects, each of which contains information about a session with the bot.sessions
(Consumer<SessionSpecification.Builder>... sessions) A list of objects, each of which contains information about a session with the bot.sessions
(SessionSpecification... sessions) A list of objects, each of which contains information about a session with the 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 Details
-
botId
The unique identifier of the bot that the sessions belong to.
- Parameters:
botId
- The unique identifier of the bot that the sessions belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the response from the ListSessionAnalyticsData 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 ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.
- Parameters:
nextToken
- If the response from the ListSessionAnalyticsData 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 ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData 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.
-
sessions
A list of objects, each of which contains information about a session with the bot.
- Parameters:
sessions
- A list of objects, each of which contains information about a session with the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
A list of objects, each of which contains information about a session with the bot.
- Parameters:
sessions
- A list of objects, each of which contains information about a session with the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
ListSessionAnalyticsDataResponse.Builder sessions(Consumer<SessionSpecification.Builder>... sessions) A list of objects, each of which contains information about a session with the bot.
This is a convenience method that creates an instance of theSessionSpecification.Builder
avoiding the need to create one manually viaSessionSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessions(List<SessionSpecification>)
.- Parameters:
sessions
- a consumer that will call methods onSessionSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-