Interface ListUtteranceMetricsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListUtteranceMetricsRequest.Builder,ListUtteranceMetricsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListUtteranceMetricsRequest.Builder,ListUtteranceMetricsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListUtteranceMetricsRequest
public static interface ListUtteranceMetricsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListUtteranceMetricsRequest.Builder,ListUtteranceMetricsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUtteranceMetricsRequest.Builderattributes(Collection<AnalyticsUtteranceAttribute> attributes)A list containing attributes related to the utterance that you want the response to return.ListUtteranceMetricsRequest.Builderattributes(Consumer<AnalyticsUtteranceAttribute.Builder>... attributes)A list containing attributes related to the utterance that you want the response to return.ListUtteranceMetricsRequest.Builderattributes(AnalyticsUtteranceAttribute... attributes)A list containing attributes related to the utterance that you want the response to return.ListUtteranceMetricsRequest.BuilderbinBy(Collection<AnalyticsBinBySpecification> binBy)A list of objects, each of which contains specifications for organizing the results by time.ListUtteranceMetricsRequest.BuilderbinBy(Consumer<AnalyticsBinBySpecification.Builder>... binBy)A list of objects, each of which contains specifications for organizing the results by time.ListUtteranceMetricsRequest.BuilderbinBy(AnalyticsBinBySpecification... binBy)A list of objects, each of which contains specifications for organizing the results by time.ListUtteranceMetricsRequest.BuilderbotId(String botId)The identifier for the bot for which you want to retrieve utterance metrics.ListUtteranceMetricsRequest.BuilderendDateTime(Instant endDateTime)The date and time that marks the end of the range of time for which you want to see utterance metrics.ListUtteranceMetricsRequest.Builderfilters(Collection<AnalyticsUtteranceFilter> filters)A list of objects, each of which describes a condition by which you want to filter the results.ListUtteranceMetricsRequest.Builderfilters(Consumer<AnalyticsUtteranceFilter.Builder>... filters)A list of objects, each of which describes a condition by which you want to filter the results.ListUtteranceMetricsRequest.Builderfilters(AnalyticsUtteranceFilter... filters)A list of objects, each of which describes a condition by which you want to filter the results.ListUtteranceMetricsRequest.BuildergroupBy(Collection<AnalyticsUtteranceGroupBySpecification> groupBy)A list of objects, each of which specifies how to group the results.ListUtteranceMetricsRequest.BuildergroupBy(Consumer<AnalyticsUtteranceGroupBySpecification.Builder>... groupBy)A list of objects, each of which specifies how to group the results.ListUtteranceMetricsRequest.BuildergroupBy(AnalyticsUtteranceGroupBySpecification... groupBy)A list of objects, each of which specifies how to group the results.ListUtteranceMetricsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in each page of results.ListUtteranceMetricsRequest.Buildermetrics(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.ListUtteranceMetricsRequest.Buildermetrics(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.ListUtteranceMetricsRequest.Buildermetrics(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.ListUtteranceMetricsRequest.BuildernextToken(String nextToken)If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.ListUtteranceMetricsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListUtteranceMetricsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListUtteranceMetricsRequest.BuilderstartDateTime(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.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 Detail
-
botId
ListUtteranceMetricsRequest.Builder botId(String botId)
The 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.
-
startDateTime
ListUtteranceMetricsRequest.Builder startDateTime(Instant startDateTime)
The 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.
-
endDateTime
ListUtteranceMetricsRequest.Builder endDateTime(Instant endDateTime)
The 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.
-
metrics
ListUtteranceMetricsRequest.Builder 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.
- 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.
-
metrics
ListUtteranceMetricsRequest.Builder 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.
- 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.
-
metrics
ListUtteranceMetricsRequest.Builder 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.
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 to#metrics(List.) - Parameters:
metrics- a consumer that will call methods onAnalyticsUtteranceMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metrics(java.util.Collection)
-
binBy
ListUtteranceMetricsRequest.Builder binBy(Collection<AnalyticsBinBySpecification> binBy)
A 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.
-
binBy
ListUtteranceMetricsRequest.Builder binBy(AnalyticsBinBySpecification... binBy)
A 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.
-
binBy
ListUtteranceMetricsRequest.Builder binBy(Consumer<AnalyticsBinBySpecification.Builder>... binBy)
A 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 to#binBy(List.) - Parameters:
binBy- a consumer that will call methods onAnalyticsBinBySpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#binBy(java.util.Collection)
-
groupBy
ListUtteranceMetricsRequest.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.
-
-
groupBy
ListUtteranceMetricsRequest.Builder groupBy(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.
-
-
groupBy
ListUtteranceMetricsRequest.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 to#groupBy(List.) - Parameters:
groupBy- a consumer that will call methods onAnalyticsUtteranceGroupBySpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groupBy(java.util.Collection)
-
-
attributes
ListUtteranceMetricsRequest.Builder attributes(Collection<AnalyticsUtteranceAttribute> 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.
- 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.
-
-
attributes
ListUtteranceMetricsRequest.Builder attributes(AnalyticsUtteranceAttribute... 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.
- 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.
-
-
attributes
ListUtteranceMetricsRequest.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 to#attributes(List.) - Parameters:
attributes- a consumer that will call methods onAnalyticsUtteranceAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributes(java.util.Collection)
-
-
filters
ListUtteranceMetricsRequest.Builder filters(Collection<AnalyticsUtteranceFilter> 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
ListUtteranceMetricsRequest.Builder filters(AnalyticsUtteranceFilter... 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
ListUtteranceMetricsRequest.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.Builderavoiding the need to create one manually viaAnalyticsUtteranceFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
maxResults
ListUtteranceMetricsRequest.Builder maxResults(Integer 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
ListUtteranceMetricsRequest.Builder nextToken(String 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.
- 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.
-
overrideConfiguration
ListUtteranceMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListUtteranceMetricsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-