Interface ListUtteranceAnalyticsDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListUtteranceAnalyticsDataRequest.Builder,
,ListUtteranceAnalyticsDataRequest> LexModelsV2Request.Builder
,SdkBuilder<ListUtteranceAnalyticsDataRequest.Builder,
,ListUtteranceAnalyticsDataRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListUtteranceAnalyticsDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the bot for which you want to retrieve utterance analytics.endDateTime
(Instant endDateTime) The date and time that marks the end of the range of time for which you want to see utterance analytics.filters
(Collection<AnalyticsUtteranceFilter> filters) A list of objects, each of which describes a condition by which you want to filter the results.filters
(Consumer<AnalyticsUtteranceFilter.Builder>... filters) A list of objects, each of which describes a condition by which you want to filter the results.filters
(AnalyticsUtteranceFilter... 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 ListUtteranceAnalyticsData 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<UtteranceDataSortBy.Builder> sortBy) An object specifying the measure and method by which to sort the utterance analytics data.sortBy
(UtteranceDataSortBy sortBy) An object specifying the measure and method by which to sort the utterance analytics data.startDateTime
(Instant startDateTime) The date and time that marks the beginning of the range of time for which you want to see utterance 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 utterance analytics.
- Parameters:
botId
- The identifier for the bot for which you want to retrieve utterance 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 utterance analytics.
- Parameters:
startDateTime
- The date and time that marks the beginning of the range of time for which you want to see utterance 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 utterance analytics.
- Parameters:
endDateTime
- The date and time that marks the end of the range of time for which you want to see utterance 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 utterance analytics data.
- Parameters:
sortBy
- An object specifying the measure and method by which to sort the utterance analytics data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListUtteranceAnalyticsDataRequest.Builder sortBy(Consumer<UtteranceDataSortBy.Builder> sortBy) An object specifying the measure and method by which to sort the utterance analytics data.
This is a convenience method that creates an instance of theUtteranceDataSortBy.Builder
avoiding the need to create one manually viaUtteranceDataSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(UtteranceDataSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onUtteranceDataSortBy.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
ListUtteranceAnalyticsDataRequest.Builder filters(Consumer<AnalyticsUtteranceFilter.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 theAnalyticsUtteranceFilter.Builder
avoiding the need to create one manually viaAnalyticsUtteranceFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<AnalyticsUtteranceFilter>)
.- Parameters:
filters
- a consumer that will call methods onAnalyticsUtteranceFilter.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 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.
-
overrideConfiguration
ListUtteranceAnalyticsDataRequest.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
ListUtteranceAnalyticsDataRequest.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.
-