Interface ListSessionAnalyticsDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListSessionAnalyticsDataRequest.Builder,
,ListSessionAnalyticsDataRequest> LexModelsV2Request.Builder
,SdkBuilder<ListSessionAnalyticsDataRequest.Builder,
,ListSessionAnalyticsDataRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListSessionAnalyticsDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the bot for which you want to retrieve session analytics.endDateTime
(Instant endDateTime) The date and time that marks the end of the range of time for which you want to see session analytics.filters
(Collection<AnalyticsSessionFilter> filters) A list of objects, each of which describes a condition by which you want to filter the results.filters
(Consumer<AnalyticsSessionFilter.Builder>... filters) A list of objects, each of which describes a condition by which you want to filter the results.filters
(AnalyticsSessionFilter... filters) A list of objects, each of which describes a condition by which you want to filter the results.maxResults
(Integer maxResults) The maximum number of results to return in each page of results.If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortBy
(Consumer<SessionDataSortBy.Builder> sortBy) An object specifying the measure and method by which to sort the session analytics data.sortBy
(SessionDataSortBy sortBy) An object specifying the measure and method by which to sort the session analytics data.startDateTime
(Instant startDateTime) The date and time that marks the beginning of the range of time for which you want to see session analytics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
botId
The identifier for the bot for which you want to retrieve session analytics.
- Parameters:
botId
- The identifier for the bot for which you want to retrieve session analytics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDateTime
The date and time that marks the beginning of the range of time for which you want to see session analytics.
- Parameters:
startDateTime
- The date and time that marks the beginning of the range of time for which you want to see session analytics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDateTime
The date and time that marks the end of the range of time for which you want to see session analytics.
- Parameters:
endDateTime
- The date and time that marks the end of the range of time for which you want to see session analytics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
An object specifying the measure and method by which to sort the session analytics data.
- Parameters:
sortBy
- An object specifying the measure and method by which to sort the session analytics data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
An object specifying the measure and method by which to sort the session analytics data.
This is a convenience method that creates an instance of theSessionDataSortBy.Builder
avoiding the need to create one manually viaSessionDataSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(SessionDataSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onSessionDataSortBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
A list of objects, each of which describes a condition by which you want to filter the results.
- Parameters:
filters
- A list of objects, each of which describes a condition by which you want to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of objects, each of which describes a condition by which you want to filter the results.
- Parameters:
filters
- A list of objects, each of which describes a condition by which you want to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListSessionAnalyticsDataRequest.Builder filters(Consumer<AnalyticsSessionFilter.Builder>... filters) A list of objects, each of which describes a condition by which you want to filter the results.
This is a convenience method that creates an instance of theAnalyticsSessionFilter.Builder
avoiding the need to create one manually viaAnalyticsSessionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<AnalyticsSessionFilter>)
.- Parameters:
filters
- a consumer that will call methods onAnalyticsSessionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
- Parameters:
maxResults
- The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.- 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.
-
overrideConfiguration
ListSessionAnalyticsDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListSessionAnalyticsDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-