* 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. *
*/ private com.amazonaws.internal.SdkInternalList* Specifies whether this rule aggregates contributor data by COUNT or SUM. *
*/ private String aggregationStatistic; /** ** The sum of the values from all individual contributors that match the rule. *
*/ private Double aggregateValue; /** ** An approximate count of the unique contributors found by this rule in this time period. *
*/ private Long approximateUniqueCount; /** ** 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. *
*/ private com.amazonaws.internal.SdkInternalList* A time series of metric data points that matches the time period in the rule request. *
*/ private com.amazonaws.internal.SdkInternalList* 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setKeyLabels(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setKeyLabels(java.util.Collection)} or {@link #withKeyLabels(java.util.Collection)} if you want to * override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withKeyLabels(String... keyLabels) { if (this.keyLabels == null) { setKeyLabels(new com.amazonaws.internal.SdkInternalList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withKeyLabels(java.util.Collection* Specifies whether this rule aggregates contributor data by COUNT or SUM. *
* * @param aggregationStatistic * Specifies whether this rule aggregates contributor data by COUNT or SUM. */ public void setAggregationStatistic(String aggregationStatistic) { this.aggregationStatistic = aggregationStatistic; } /** ** Specifies whether this rule aggregates contributor data by COUNT or SUM. *
* * @return Specifies whether this rule aggregates contributor data by COUNT or SUM. */ public String getAggregationStatistic() { return this.aggregationStatistic; } /** ** Specifies whether this rule aggregates contributor data by COUNT or SUM. *
* * @param aggregationStatistic * Specifies whether this rule aggregates contributor data by COUNT or SUM. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withAggregationStatistic(String aggregationStatistic) { setAggregationStatistic(aggregationStatistic); return this; } /** ** The sum of the values from all individual contributors that match the rule. *
* * @param aggregateValue * The sum of the values from all individual contributors that match the rule. */ public void setAggregateValue(Double aggregateValue) { this.aggregateValue = aggregateValue; } /** ** The sum of the values from all individual contributors that match the rule. *
* * @return The sum of the values from all individual contributors that match the rule. */ public Double getAggregateValue() { return this.aggregateValue; } /** ** The sum of the values from all individual contributors that match the rule. *
* * @param aggregateValue * The sum of the values from all individual contributors that match the rule. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withAggregateValue(Double aggregateValue) { setAggregateValue(aggregateValue); return this; } /** ** An approximate count of the unique contributors found by this rule in this time period. *
* * @param approximateUniqueCount * An approximate count of the unique contributors found by this rule in this time period. */ public void setApproximateUniqueCount(Long approximateUniqueCount) { this.approximateUniqueCount = approximateUniqueCount; } /** ** An approximate count of the unique contributors found by this rule in this time period. *
* * @return An approximate count of the unique contributors found by this rule in this time period. */ public Long getApproximateUniqueCount() { return this.approximateUniqueCount; } /** ** An approximate count of the unique contributors found by this rule in this time period. *
* * @param approximateUniqueCount * An approximate count of the unique contributors found by this rule in this time period. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withApproximateUniqueCount(Long approximateUniqueCount) { setApproximateUniqueCount(approximateUniqueCount); return this; } /** ** 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. *
* * @return 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. */ public java.util.List* 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. *
* * @param 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. */ public void setContributors(java.util.Collection* 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. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setContributors(java.util.Collection)} or {@link #withContributors(java.util.Collection)} if you want to * override the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withContributors(InsightRuleContributor... contributors) { if (this.contributors == null) { setContributors(new com.amazonaws.internal.SdkInternalList* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withContributors(java.util.Collection* A time series of metric data points that matches the time period in the rule request. *
* * @return A time series of metric data points that matches the time period in the rule request. */ public java.util.List* A time series of metric data points that matches the time period in the rule request. *
* * @param metricDatapoints * A time series of metric data points that matches the time period in the rule request. */ public void setMetricDatapoints(java.util.Collection* A time series of metric data points that matches the time period in the rule request. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMetricDatapoints(java.util.Collection)} or {@link #withMetricDatapoints(java.util.Collection)} if you * want to override the existing values. *
* * @param metricDatapoints * A time series of metric data points that matches the time period in the rule request. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withMetricDatapoints(InsightRuleMetricDatapoint... metricDatapoints) { if (this.metricDatapoints == null) { setMetricDatapoints(new com.amazonaws.internal.SdkInternalList* A time series of metric data points that matches the time period in the rule request. *
* * @param metricDatapoints * A time series of metric data points that matches the time period in the rule request. * @return Returns a reference to this object so that method calls can be chained together. */ public GetInsightRuleReportResult withMetricDatapoints(java.util.Collection