Interface ListIntentStageMetricsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListIntentStageMetricsResponse.Builder,ListIntentStageMetricsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListIntentStageMetricsResponse.Builder,ListIntentStageMetricsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListIntentStageMetricsResponse
public static interface ListIntentStageMetricsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListIntentStageMetricsResponse.Builder,ListIntentStageMetricsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListIntentStageMetricsResponse.BuilderbotId(String botId)The identifier for the bot for which you retrieved intent stage metrics.ListIntentStageMetricsResponse.BuildernextToken(String nextToken)If the response from the ListIntentStageMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.ListIntentStageMetricsResponse.Builderresults(Collection<AnalyticsIntentStageResult> results)The results for the intent stage metrics.ListIntentStageMetricsResponse.Builderresults(Consumer<AnalyticsIntentStageResult.Builder>... results)The results for the intent stage metrics.ListIntentStageMetricsResponse.Builderresults(AnalyticsIntentStageResult... results)The results for the intent stage 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
botId
ListIntentStageMetricsResponse.Builder botId(String botId)
The identifier for the bot for which you retrieved intent stage metrics.
- Parameters:
botId- The identifier for the bot for which you retrieved intent stage metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListIntentStageMetricsResponse.Builder results(Collection<AnalyticsIntentStageResult> results)
The results for the intent stage metrics.
- Parameters:
results- The results for the intent stage metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListIntentStageMetricsResponse.Builder results(AnalyticsIntentStageResult... results)
The results for the intent stage metrics.
- Parameters:
results- The results for the intent stage metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListIntentStageMetricsResponse.Builder results(Consumer<AnalyticsIntentStageResult.Builder>... results)
The results for the intent stage metrics.
This is a convenience method that creates an instance of theAnalyticsIntentStageResult.Builderavoiding the need to create one manually viaAnalyticsIntentStageResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - Parameters:
results- a consumer that will call methods onAnalyticsIntentStageResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
nextToken
ListIntentStageMetricsResponse.Builder nextToken(String nextToken)
If the response from the ListIntentStageMetrics 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 ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics operation until the nextToken returned in the response is null.
- Parameters:
nextToken- If the response from the ListIntentStageMetrics 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 ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics 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.
-
-