Interface ListIntentMetricsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListIntentMetricsResponse.Builder,ListIntentMetricsResponse>, LexModelsV2Response.Builder, SdkBuilder<ListIntentMetricsResponse.Builder,ListIntentMetricsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListIntentMetricsResponse

public static interface ListIntentMetricsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListIntentMetricsResponse.Builder,ListIntentMetricsResponse>
  • Method Details

    • botId

      The identifier for the bot for which you retrieved intent metrics.

      Parameters:
      botId - The identifier for the bot for which you retrieved intent metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      The results for the intent metrics.

      Parameters:
      results - The results for the intent metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      The results for the intent metrics.

      Parameters:
      results - The results for the intent metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      The results for the intent metrics.

      This is a convenience method that creates an instance of the AnalyticsIntentResult.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<AnalyticsIntentResult>).

      Parameters:
      results - a consumer that will call methods on AnalyticsIntentResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.