@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightRuleMetricDatapoint extends Object implements Serializable, Cloneable
One data point from the metric time series returned in a Contributor Insights rule report.
For more information, see GetInsightRuleReport.
Constructor and Description |
---|
InsightRuleMetricDatapoint() |
Modifier and Type | Method and Description |
---|---|
InsightRuleMetricDatapoint |
clone() |
boolean |
equals(Object obj) |
Double |
getAverage()
The average value from all contributors during the time period represented by that data point.
|
Double |
getMaxContributorValue()
The maximum value provided by one contributor during this timestamp.
|
Double |
getMaximum()
The maximum value from a single occurence from a single contributor during the time period represented by that
data point.
|
Double |
getMinimum()
The minimum value from a single contributor during the time period represented by that data point.
|
Double |
getSampleCount()
The number of occurrences that matched the rule during this data point.
|
Double |
getSum()
The sum of the values from all contributors during the time period represented by that data point.
|
Date |
getTimestamp()
The timestamp of the data point.
|
Double |
getUniqueContributors()
The number of unique contributors who published data during this timestamp.
|
int |
hashCode() |
void |
setAverage(Double average)
The average value from all contributors during the time period represented by that data point.
|
void |
setMaxContributorValue(Double maxContributorValue)
The maximum value provided by one contributor during this timestamp.
|
void |
setMaximum(Double maximum)
The maximum value from a single occurence from a single contributor during the time period represented by that
data point.
|
void |
setMinimum(Double minimum)
The minimum value from a single contributor during the time period represented by that data point.
|
void |
setSampleCount(Double sampleCount)
The number of occurrences that matched the rule during this data point.
|
void |
setSum(Double sum)
The sum of the values from all contributors during the time period represented by that data point.
|
void |
setTimestamp(Date timestamp)
The timestamp of the data point.
|
void |
setUniqueContributors(Double uniqueContributors)
The number of unique contributors who published data during this timestamp.
|
String |
toString()
Returns a string representation of this object.
|
InsightRuleMetricDatapoint |
withAverage(Double average)
The average value from all contributors during the time period represented by that data point.
|
InsightRuleMetricDatapoint |
withMaxContributorValue(Double maxContributorValue)
The maximum value provided by one contributor during this timestamp.
|
InsightRuleMetricDatapoint |
withMaximum(Double maximum)
The maximum value from a single occurence from a single contributor during the time period represented by that
data point.
|
InsightRuleMetricDatapoint |
withMinimum(Double minimum)
The minimum value from a single contributor during the time period represented by that data point.
|
InsightRuleMetricDatapoint |
withSampleCount(Double sampleCount)
The number of occurrences that matched the rule during this data point.
|
InsightRuleMetricDatapoint |
withSum(Double sum)
The sum of the values from all contributors during the time period represented by that data point.
|
InsightRuleMetricDatapoint |
withTimestamp(Date timestamp)
The timestamp of the data point.
|
InsightRuleMetricDatapoint |
withUniqueContributors(Double uniqueContributors)
The number of unique contributors who published data during this timestamp.
|
public void setTimestamp(Date timestamp)
The timestamp of the data point.
timestamp
- The timestamp of the data point.public Date getTimestamp()
The timestamp of the data point.
public InsightRuleMetricDatapoint withTimestamp(Date timestamp)
The timestamp of the data point.
timestamp
- The timestamp of the data point.public void setUniqueContributors(Double uniqueContributors)
The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
uniqueContributors
- The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getUniqueContributors()
The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withUniqueContributors(Double uniqueContributors)
The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
uniqueContributors
- The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
public void setMaxContributorValue(Double maxContributorValue)
The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
maxContributorValue
- The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated
separately, so the identity of the max contributor could be different for each timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getMaxContributorValue()
The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withMaxContributorValue(Double maxContributorValue)
The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
maxContributorValue
- The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated
separately, so the identity of the max contributor could be different for each timestamp.
This statistic is returned only if you included it in the Metrics
array in your request.
public void setSampleCount(Double sampleCount)
The number of occurrences that matched the rule during this data point.
This statistic is returned only if you included it in the Metrics
array in your request.
sampleCount
- The number of occurrences that matched the rule during this data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getSampleCount()
The number of occurrences that matched the rule during this data point.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withSampleCount(Double sampleCount)
The number of occurrences that matched the rule during this data point.
This statistic is returned only if you included it in the Metrics
array in your request.
sampleCount
- The number of occurrences that matched the rule during this data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public void setAverage(Double average)
The average value from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
average
- The average value from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getAverage()
The average value from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withAverage(Double average)
The average value from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
average
- The average value from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public void setSum(Double sum)
The sum of the values from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
sum
- The sum of the values from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getSum()
The sum of the values from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withSum(Double sum)
The sum of the values from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
sum
- The sum of the values from all contributors during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public void setMinimum(Double minimum)
The minimum value from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
minimum
- The minimum value from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getMinimum()
The minimum value from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withMinimum(Double minimum)
The minimum value from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
minimum
- The minimum value from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public void setMaximum(Double maximum)
The maximum value from a single occurence from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
maximum
- The maximum value from a single occurence from a single contributor during the time period represented by
that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public Double getMaximum()
The maximum value from a single occurence from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
This statistic is returned only if you included it in the Metrics
array in your request.
public InsightRuleMetricDatapoint withMaximum(Double maximum)
The maximum value from a single occurence from a single contributor during the time period represented by that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
maximum
- The maximum value from a single occurence from a single contributor during the time period represented by
that data point.
This statistic is returned only if you included it in the Metrics
array in your request.
public String toString()
toString
in class Object
Object.toString()
public InsightRuleMetricDatapoint clone()
Copyright © 2020. All rights reserved.