Interface ListUtteranceMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListUtteranceMetricsResponse.Builder,
,ListUtteranceMetricsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListUtteranceMetricsResponse.Builder,
,ListUtteranceMetricsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUtteranceMetricsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the bot for which you retrieved utterance metrics.If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.results
(Collection<AnalyticsUtteranceResult> results) The results for the utterance metrics.results
(Consumer<AnalyticsUtteranceResult.Builder>... results) The results for the utterance metrics.results
(AnalyticsUtteranceResult... results) The results for the utterance metrics.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botId
The identifier for the bot for which you retrieved utterance metrics.
- Parameters:
botId
- The identifier for the bot for which you retrieved utterance metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results for the utterance metrics.
- Parameters:
results
- The results for the utterance metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results for the utterance metrics.
- Parameters:
results
- The results for the utterance metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAnalyticsUtteranceResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<AnalyticsUtteranceResult>)
.- Parameters:
results
- a consumer that will call methods onAnalyticsUtteranceResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-