@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInsightRuleReportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInsightRuleReportResult() |
Modifier and Type | Method and Description |
---|---|
GetInsightRuleReportResult |
clone() |
boolean |
equals(Object obj) |
Double |
getAggregateValue()
The sum of the values from all individual contributors that match the rule.
|
String |
getAggregationStatistic()
Specifies whether this rule aggregates contributor data by COUNT or SUM.
|
Long |
getApproximateUniqueCount()
An approximate count of the unique contributors found by this rule in this time period.
|
List<InsightRuleContributor> |
getContributors()
An array of the unique contributors found by this rule in this time period.
|
List<String> |
getKeyLabels()
An array of the strings used as the keys for this rule.
|
List<InsightRuleMetricDatapoint> |
getMetricDatapoints()
A time series of metric data points that matches the time period in the rule request.
|
int |
hashCode() |
void |
setAggregateValue(Double aggregateValue)
The sum of the values from all individual contributors that match the rule.
|
void |
setAggregationStatistic(String aggregationStatistic)
Specifies whether this rule aggregates contributor data by COUNT or SUM.
|
void |
setApproximateUniqueCount(Long approximateUniqueCount)
An approximate count of the unique contributors found by this rule in this time period.
|
void |
setContributors(Collection<InsightRuleContributor> contributors)
An array of the unique contributors found by this rule in this time period.
|
void |
setKeyLabels(Collection<String> keyLabels)
An array of the strings used as the keys for this rule.
|
void |
setMetricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
|
String |
toString()
Returns a string representation of this object.
|
GetInsightRuleReportResult |
withAggregateValue(Double aggregateValue)
The sum of the values from all individual contributors that match the rule.
|
GetInsightRuleReportResult |
withAggregationStatistic(String aggregationStatistic)
Specifies whether this rule aggregates contributor data by COUNT or SUM.
|
GetInsightRuleReportResult |
withApproximateUniqueCount(Long approximateUniqueCount)
An approximate count of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResult |
withContributors(Collection<InsightRuleContributor> contributors)
An array of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResult |
withContributors(InsightRuleContributor... contributors)
An array of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResult |
withKeyLabels(Collection<String> keyLabels)
An array of the strings used as the keys for this rule.
|
GetInsightRuleReportResult |
withKeyLabels(String... keyLabels)
An array of the strings used as the keys for this rule.
|
GetInsightRuleReportResult |
withMetricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
|
GetInsightRuleReportResult |
withMetricDatapoints(InsightRuleMetricDatapoint... metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getKeyLabels()
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(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.
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 GetInsightRuleReportResult withKeyLabels(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.
NOTE: This method appends the values to the existing list (if any). Use
setKeyLabels(java.util.Collection)
or withKeyLabels(java.util.Collection)
if you want to
override the existing values.
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 GetInsightRuleReportResult withKeyLabels(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.
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 setAggregationStatistic(String aggregationStatistic)
Specifies whether this rule aggregates contributor data by COUNT or SUM.
aggregationStatistic
- Specifies whether this rule aggregates contributor data by COUNT or SUM.public String getAggregationStatistic()
Specifies whether this rule aggregates contributor data by COUNT or SUM.
public GetInsightRuleReportResult withAggregationStatistic(String aggregationStatistic)
Specifies whether this rule aggregates contributor data by COUNT or SUM.
aggregationStatistic
- Specifies whether this rule aggregates contributor data by COUNT or SUM.public void setAggregateValue(Double aggregateValue)
The sum of the values from all individual contributors that match the rule.
aggregateValue
- The sum of the values from all individual contributors that match the rule.public Double getAggregateValue()
The sum of the values from all individual contributors that match the rule.
public GetInsightRuleReportResult withAggregateValue(Double aggregateValue)
The sum of the values from all individual contributors that match the rule.
aggregateValue
- The sum of the values from all individual contributors that match the rule.public void setApproximateUniqueCount(Long approximateUniqueCount)
An approximate count of the unique contributors found by this rule in this time period.
approximateUniqueCount
- An approximate count of the unique contributors found by this rule in this time period.public Long getApproximateUniqueCount()
An approximate count of the unique contributors found by this rule in this time period.
public GetInsightRuleReportResult withApproximateUniqueCount(Long approximateUniqueCount)
An approximate count of the unique contributors found by this rule in this time period.
approximateUniqueCount
- An approximate count of the unique contributors found by this rule in this time period.public List<InsightRuleContributor> getContributors()
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(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.
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 GetInsightRuleReportResult withContributors(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.
NOTE: This method appends the values to the existing list (if any). Use
setContributors(java.util.Collection)
or withContributors(java.util.Collection)
if you want to
override the existing values.
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 GetInsightRuleReportResult withContributors(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.
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 List<InsightRuleMetricDatapoint> getMetricDatapoints()
A time series of metric data points that matches the time period in the rule request.
public void setMetricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
metricDatapoints
- A time series of metric data points that matches the time period in the rule request.public GetInsightRuleReportResult withMetricDatapoints(InsightRuleMetricDatapoint... metricDatapoints)
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
setMetricDatapoints(java.util.Collection)
or withMetricDatapoints(java.util.Collection)
if you
want to override the existing values.
metricDatapoints
- A time series of metric data points that matches the time period in the rule request.public GetInsightRuleReportResult withMetricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
metricDatapoints
- A time series of metric data points that matches the time period in the rule request.public String toString()
toString
in class Object
Object.toString()
public GetInsightRuleReportResult clone()
Copyright © 2023. All rights reserved.