public static interface ListUtteranceMetricsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListUtteranceMetricsResponse.Builder,ListUtteranceMetricsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListUtteranceMetricsResponse.Builder |
botId(String botId)
The identifier for the bot for which you retrieved utterance metrics.
|
ListUtteranceMetricsResponse.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.
|
ListUtteranceMetricsResponse.Builder |
results(AnalyticsUtteranceResult... results)
The results for the utterance metrics.
|
ListUtteranceMetricsResponse.Builder |
results(Collection<AnalyticsUtteranceResult> results)
The results for the utterance metrics.
|
ListUtteranceMetricsResponse.Builder |
results(Consumer<AnalyticsUtteranceResult.Builder>... results)
The results for the utterance metrics.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListUtteranceMetricsResponse.Builder botId(String botId)
The identifier for the bot for which you retrieved utterance metrics.
botId - The identifier for the bot for which you retrieved utterance metrics.ListUtteranceMetricsResponse.Builder results(Collection<AnalyticsUtteranceResult> results)
The results for the utterance metrics.
results - The results for the utterance metrics.ListUtteranceMetricsResponse.Builder results(AnalyticsUtteranceResult... results)
The results for the utterance metrics.
results - The results for the utterance metrics.ListUtteranceMetricsResponse.Builder results(Consumer<AnalyticsUtteranceResult.Builder>... results)
The results for the utterance metrics.
This is a convenience method that creates an instance of theAnalyticsUtteranceResult.Builder avoiding the need
to create one manually via
AnalyticsUtteranceResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #results(List.
results - a consumer that will call methods on
AnalyticsUtteranceResult.Builder#results(java.util.Collection) ListUtteranceMetricsResponse.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.
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.
Copyright © 2023. All rights reserved.