public static interface ListIntentMetricsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListIntentMetricsResponse.Builder,ListIntentMetricsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListIntentMetricsResponse.Builder |
botId(String botId)
The identifier for the bot for which you retrieved intent metrics.
|
ListIntentMetricsResponse.Builder |
nextToken(String nextToken)
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
ListIntentMetricsResponse.Builder |
results(AnalyticsIntentResult... results)
The results for the intent metrics.
|
ListIntentMetricsResponse.Builder |
results(Collection<AnalyticsIntentResult> results)
The results for the intent metrics.
|
ListIntentMetricsResponse.Builder |
results(Consumer<AnalyticsIntentResult.Builder>... results)
The results for the intent metrics.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListIntentMetricsResponse.Builder botId(String botId)
The identifier for the bot for which you retrieved intent metrics.
botId - The identifier for the bot for which you retrieved intent metrics.ListIntentMetricsResponse.Builder results(Collection<AnalyticsIntentResult> results)
The results for the intent metrics.
results - The results for the intent metrics.ListIntentMetricsResponse.Builder results(AnalyticsIntentResult... results)
The results for the intent metrics.
results - The results for the intent metrics.ListIntentMetricsResponse.Builder results(Consumer<AnalyticsIntentResult.Builder>... results)
The results for the intent metrics.
This is a convenience method that creates an instance of theAnalyticsIntentResult.Builder avoiding the need to
create one manually via
AnalyticsIntentResult.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
AnalyticsIntentResult.Builder#results(java.util.Collection) ListIntentMetricsResponse.Builder nextToken(String nextToken)
If the response from the ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
nextToken - If the response from the ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
Copyright © 2023. All rights reserved.