Interface GetInsightRuleReportResponse.Builder

    • Method Detail

      • keyLabels

        GetInsightRuleReportResponse.Builder keyLabels​(Collection<String> keyLabels)

        An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.

        Parameters:
        keyLabels - An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyLabels

        GetInsightRuleReportResponse.Builder keyLabels​(String... keyLabels)

        An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.

        Parameters:
        keyLabels - An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregationStatistic

        GetInsightRuleReportResponse.Builder aggregationStatistic​(String aggregationStatistic)

        Specifies whether this rule aggregates contributor data by COUNT or SUM.

        Parameters:
        aggregationStatistic - Specifies whether this rule aggregates contributor data by COUNT or SUM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregateValue

        GetInsightRuleReportResponse.Builder aggregateValue​(Double aggregateValue)

        The sum of the values from all individual contributors that match the rule.

        Parameters:
        aggregateValue - The sum of the values from all individual contributors that match the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approximateUniqueCount

        GetInsightRuleReportResponse.Builder approximateUniqueCount​(Long approximateUniqueCount)

        An approximate count of the unique contributors found by this rule in this time period.

        Parameters:
        approximateUniqueCount - An approximate count of the unique contributors found by this rule in this time period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contributors

        GetInsightRuleReportResponse.Builder contributors​(Collection<InsightRuleContributor> contributors)

        An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.

        Parameters:
        contributors - An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contributors

        GetInsightRuleReportResponse.Builder contributors​(InsightRuleContributor... contributors)

        An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.

        Parameters:
        contributors - An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricDatapoints

        GetInsightRuleReportResponse.Builder metricDatapoints​(Collection<InsightRuleMetricDatapoint> metricDatapoints)

        A time series of metric data points that matches the time period in the rule request.

        Parameters:
        metricDatapoints - A time series of metric data points that matches the time period in the rule request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricDatapoints

        GetInsightRuleReportResponse.Builder metricDatapoints​(InsightRuleMetricDatapoint... metricDatapoints)

        A time series of metric data points that matches the time period in the rule request.

        Parameters:
        metricDatapoints - A time series of metric data points that matches the time period in the rule request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.