Interface ListUtteranceMetricsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ListUtteranceMetricsRequest.Builder,,- ListUtteranceMetricsRequest> - LexModelsV2Request.Builder,- SdkBuilder<ListUtteranceMetricsRequest.Builder,,- ListUtteranceMetricsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ListUtteranceMetricsRequest
- 
Method SummaryModifier and TypeMethodDescriptionattributes(Collection<AnalyticsUtteranceAttribute> attributes) A list containing attributes related to the utterance that you want the response to return.attributes(Consumer<AnalyticsUtteranceAttribute.Builder>... attributes) A list containing attributes related to the utterance that you want the response to return.attributes(AnalyticsUtteranceAttribute... attributes) A list containing attributes related to the utterance that you want the response to return.A list of objects, each of which contains specifications for organizing the results by time.binBy(Consumer<AnalyticsBinBySpecification.Builder>... binBy) A list of objects, each of which contains specifications for organizing the results by time.binBy(AnalyticsBinBySpecification... binBy) A list of objects, each of which contains specifications for organizing the results by time.The identifier for the bot for which you want to retrieve utterance metrics.endDateTime(Instant endDateTime) The date and time that marks the end of the range of time for which you want to see utterance metrics.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.A list of objects, each of which specifies how to group the results.A list of objects, each of which specifies how to group the results.groupBy(AnalyticsUtteranceGroupBySpecification... groupBy) A list of objects, each of which specifies how to group the results.maxResults(Integer maxResults) The maximum number of results to return in each page of results.metrics(Collection<AnalyticsUtteranceMetric> metrics) A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.metrics(Consumer<AnalyticsUtteranceMetric.Builder>... metrics) A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.metrics(AnalyticsUtteranceMetric... metrics) A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.If the response from the ListUtteranceMetrics 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.startDateTime(Instant startDateTime) The date and time that marks the beginning of the range of time for which you want to see utterance metrics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
botIdThe identifier for the bot for which you want to retrieve utterance metrics. - Parameters:
- botId- The identifier for the bot for which you want to retrieve utterance metrics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startDateTimeThe date and time that marks the beginning of the range of time for which you want to see utterance metrics. - Parameters:
- startDateTime- The date and time that marks the beginning of the range of time for which you want to see utterance metrics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
endDateTimeThe date and time that marks the end of the range of time for which you want to see utterance metrics. - Parameters:
- endDateTime- The date and time that marks the end of the range of time for which you want to see utterance metrics.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metricsA list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results. - Parameters:
- metrics- A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metricsA list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results. - Parameters:
- metrics- A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metricsA list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results. This is a convenience method that creates an instance of theAnalyticsUtteranceMetric.Builderavoiding the need to create one manually viaAnalyticsUtteranceMetric.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(List<AnalyticsUtteranceMetric>).- Parameters:
- metrics- a consumer that will call methods on- AnalyticsUtteranceMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
binByA list of objects, each of which contains specifications for organizing the results by time. - Parameters:
- binBy- A list of objects, each of which contains specifications for organizing the results by time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
binByA list of objects, each of which contains specifications for organizing the results by time. - Parameters:
- binBy- A list of objects, each of which contains specifications for organizing the results by time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
binByA list of objects, each of which contains specifications for organizing the results by time. This is a convenience method that creates an instance of theAnalyticsBinBySpecification.Builderavoiding the need to create one manually viaAnalyticsBinBySpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobinBy(List<AnalyticsBinBySpecification>).- Parameters:
- binBy- a consumer that will call methods on- AnalyticsBinBySpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
groupByListUtteranceMetricsRequest.Builder groupBy(Collection<AnalyticsUtteranceGroupBySpecification> groupBy) A list of objects, each of which specifies how to group the results. You can group by the following criteria: - 
 UtteranceText– The transcription of the utterance.
- 
 UtteranceState– The state of the utterance. The possible states are detailed in Key definitions in the user guide.
 - Parameters:
- groupBy- A list of objects, each of which specifies how to group the results. You can group by the following criteria:- 
        UtteranceText– The transcription of the utterance.
- 
        UtteranceState– The state of the utterance. The possible states are detailed in Key definitions in the user guide.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
groupByA list of objects, each of which specifies how to group the results. You can group by the following criteria: - 
 UtteranceText– The transcription of the utterance.
- 
 UtteranceState– The state of the utterance. The possible states are detailed in Key definitions in the user guide.
 - Parameters:
- groupBy- A list of objects, each of which specifies how to group the results. You can group by the following criteria:- 
        UtteranceText– The transcription of the utterance.
- 
        UtteranceState– The state of the utterance. The possible states are detailed in Key definitions in the user guide.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
groupByListUtteranceMetricsRequest.Builder groupBy(Consumer<AnalyticsUtteranceGroupBySpecification.Builder>... groupBy) A list of objects, each of which specifies how to group the results. You can group by the following criteria: - 
 UtteranceText– The transcription of the utterance.
- 
 UtteranceState– The state of the utterance. The possible states are detailed in Key definitions in the user guide.
 AnalyticsUtteranceGroupBySpecification.Builderavoiding the need to create one manually viaAnalyticsUtteranceGroupBySpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupBy(List<AnalyticsUtteranceGroupBySpecification>).- Parameters:
- groupBy- a consumer that will call methods on- AnalyticsUtteranceGroupBySpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
attributesA list containing attributes related to the utterance that you want the response to return. The following attributes are possible: - 
 LastUsedIntent– The last used intent at the time of the utterance.
 - Parameters:
- attributes- A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:- 
        LastUsedIntent– The last used intent at the time of the utterance.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
attributesA list containing attributes related to the utterance that you want the response to return. The following attributes are possible: - 
 LastUsedIntent– The last used intent at the time of the utterance.
 - Parameters:
- attributes- A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:- 
        LastUsedIntent– The last used intent at the time of the utterance.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
attributesListUtteranceMetricsRequest.Builder attributes(Consumer<AnalyticsUtteranceAttribute.Builder>... attributes) A list containing attributes related to the utterance that you want the response to return. The following attributes are possible: - 
 LastUsedIntent– The last used intent at the time of the utterance.
 AnalyticsUtteranceAttribute.Builderavoiding the need to create one manually viaAnalyticsUtteranceAttribute.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<AnalyticsUtteranceAttribute>).- Parameters:
- attributes- a consumer that will call methods on- AnalyticsUtteranceAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
filtersA 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.
 
- 
filtersA 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.
 
- 
filtersA 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.Builderavoiding the need to create one manually viaAnalyticsUtteranceFilter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<AnalyticsUtteranceFilter>).- Parameters:
- filters- a consumer that will call methods on- AnalyticsUtteranceFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
maxResultsThe 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.
 
- 
nextTokenIf the response from the ListUtteranceMetrics 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 ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null. - Parameters:
- nextToken- If the response from the ListUtteranceMetrics 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 ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics 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.
 
- 
overrideConfigurationListUtteranceMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListUtteranceMetricsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-