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