Interface AnalyticsIntentMetric.Builder

    • Method Detail

      • name

        AnalyticsIntentMetric.Builder name​(String name)

        The metric for which you want to get intent summary statistics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Parameters:
        name - The metric for which you want to get intent summary statistics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsIntentMetricName, AnalyticsIntentMetricName
      • name

        AnalyticsIntentMetric.Builder name​(AnalyticsIntentMetricName name)

        The metric for which you want to get intent summary statistics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Parameters:
        name - The metric for which you want to get intent summary statistics.

        • Count – The number of times the intent was invoked.

        • Success – The number of times the intent succeeded.

        • Failure – The number of times the intent failed.

        • Switched – The number of times there was a switch to a different intent.

        • Dropped – The number of times the user dropped the intent.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsIntentMetricName, AnalyticsIntentMetricName
      • statistic

        AnalyticsIntentMetric.Builder statistic​(String statistic)

        The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Parameters:
        statistic - The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsMetricStatistic, AnalyticsMetricStatistic
      • statistic

        AnalyticsIntentMetric.Builder statistic​(AnalyticsMetricStatistic statistic)

        The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Parameters:
        statistic - The summary statistic to calculate.

        • Sum – The total count for the category you provide in name.

        • Average – The total count divided by the number of intents in the category you provide in name.

        • Max – The highest count in the category you provide in name.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsMetricStatistic, AnalyticsMetricStatistic
      • order

        AnalyticsIntentMetric.Builder order​(String order)

        Specifies whether to sort the results in ascending or descending order.

        Parameters:
        order - Specifies whether to sort the results in ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnalyticsSortOrder, AnalyticsSortOrder