Interface GetInsightRuleReportResponse.Builder

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

public static interface GetInsightRuleReportResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<GetInsightRuleReportResponse.Builder,GetInsightRuleReportResponse>
  • Method Details

    • 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

      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

      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

      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

      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.

      This is a convenience method that creates an instance of the InsightRuleContributor.Builder avoiding the need to create one manually via InsightRuleContributor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contributors(List<InsightRuleContributor>).

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

      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

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

      This is a convenience method that creates an instance of the InsightRuleMetricDatapoint.Builder avoiding the need to create one manually via InsightRuleMetricDatapoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricDatapoints(List<InsightRuleMetricDatapoint>).

      Parameters:
      metricDatapoints - a consumer that will call methods on InsightRuleMetricDatapoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: