Interface ListUtteranceMetricsRequest.Builder

    • Method Detail

      • botId

        ListUtteranceMetricsRequest.Builder botId​(String botId)

        The identifier for the bot for which you want to retrieve utterance metrics.

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

        ListUtteranceMetricsRequest.Builder startDateTime​(Instant startDateTime)

        The date and time that marks the beginning of the range of time for which you want to see utterance metrics.

        Parameters:
        startDateTime - The date and time that marks the beginning of the range of time for which you want to see utterance metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endDateTime

        ListUtteranceMetricsRequest.Builder endDateTime​(Instant endDateTime)

        The date and time that marks the end of the range of time for which you want to see utterance metrics.

        Parameters:
        endDateTime - The date and time that marks the end of the range of time for which you want to see utterance metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        ListUtteranceMetricsRequest.Builder metrics​(Collection<AnalyticsUtteranceMetric> metrics)

        A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.

        Parameters:
        metrics - A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        ListUtteranceMetricsRequest.Builder metrics​(AnalyticsUtteranceMetric... metrics)

        A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.

        Parameters:
        metrics - A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • binBy

        ListUtteranceMetricsRequest.Builder binBy​(Collection<AnalyticsBinBySpecification> binBy)

        A list of objects, each of which contains specifications for organizing the results by time.

        Parameters:
        binBy - A list of objects, each of which contains specifications for organizing the results by time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • binBy

        ListUtteranceMetricsRequest.Builder binBy​(AnalyticsBinBySpecification... binBy)

        A list of objects, each of which contains specifications for organizing the results by time.

        Parameters:
        binBy - A list of objects, each of which contains specifications for organizing the results by time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupBy

        ListUtteranceMetricsRequest.Builder groupBy​(Collection<AnalyticsUtteranceGroupBySpecification> groupBy)

        A list of objects, each of which specifies how to group the results. You can group by the following criteria:

        • UtteranceText – The transcription of the utterance.

        • UtteranceState – The state of the utterance. The possible states are detailed in Key definitions in the user guide.

        Parameters:
        groupBy - A list of objects, each of which specifies how to group the results. You can group by the following criteria:

        • UtteranceText – The transcription of the utterance.

        • UtteranceState – The state of the utterance. The possible states are detailed in Key definitions in the user guide.

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

        ListUtteranceMetricsRequest.Builder groupBy​(AnalyticsUtteranceGroupBySpecification... groupBy)

        A list of objects, each of which specifies how to group the results. You can group by the following criteria:

        • UtteranceText – The transcription of the utterance.

        • UtteranceState – The state of the utterance. The possible states are detailed in Key definitions in the user guide.

        Parameters:
        groupBy - A list of objects, each of which specifies how to group the results. You can group by the following criteria:

        • UtteranceText – The transcription of the utterance.

        • UtteranceState – The state of the utterance. The possible states are detailed in Key definitions in the user guide.

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

        ListUtteranceMetricsRequest.Builder attributes​(Collection<AnalyticsUtteranceAttribute> attributes)

        A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:

        • LastUsedIntent – The last used intent at the time of the utterance.

        Parameters:
        attributes - A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:

        • LastUsedIntent – The last used intent at the time of the utterance.

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

        ListUtteranceMetricsRequest.Builder attributes​(AnalyticsUtteranceAttribute... attributes)

        A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:

        • LastUsedIntent – The last used intent at the time of the utterance.

        Parameters:
        attributes - A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:

        • LastUsedIntent – The last used intent at the time of the utterance.

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

        ListUtteranceMetricsRequest.Builder filters​(Collection<AnalyticsUtteranceFilter> filters)

        A list of objects, each of which describes a condition by which you want to filter the results.

        Parameters:
        filters - A list of objects, each of which describes a condition by which you want to filter the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListUtteranceMetricsRequest.Builder filters​(AnalyticsUtteranceFilter... filters)

        A list of objects, each of which describes a condition by which you want to filter the results.

        Parameters:
        filters - A list of objects, each of which describes a condition by which you want to filter the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListUtteranceMetricsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.

        Parameters:
        maxResults - The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListUtteranceMetricsRequest.Builder nextToken​(String 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.