Interface InsightRuleMetricDatapoint.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
,SdkBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
,SdkPojo
- Enclosing class:
- InsightRuleMetricDatapoint
public static interface InsightRuleMetricDatapoint.Builder extends SdkPojo, CopyableBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InsightRuleMetricDatapoint.Builder
average(Double average)
The average value from all contributors during the time period represented by that data point.InsightRuleMetricDatapoint.Builder
maxContributorValue(Double maxContributorValue)
The maximum value provided by one contributor during this timestamp.InsightRuleMetricDatapoint.Builder
maximum(Double maximum)
The maximum value from a single occurence from a single contributor during the time period represented by that data point.InsightRuleMetricDatapoint.Builder
minimum(Double minimum)
The minimum value from a single contributor during the time period represented by that data point.InsightRuleMetricDatapoint.Builder
sampleCount(Double sampleCount)
The number of occurrences that matched the rule during this data point.InsightRuleMetricDatapoint.Builder
sum(Double sum)
The sum of the values from all contributors during the time period represented by that data point.InsightRuleMetricDatapoint.Builder
timestamp(Instant timestamp)
The timestamp of the data point.InsightRuleMetricDatapoint.Builder
uniqueContributors(Double uniqueContributors)
The number of unique contributors who published data during this timestamp.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
timestamp
InsightRuleMetricDatapoint.Builder timestamp(Instant timestamp)
The timestamp of the data point.
- Parameters:
timestamp
- The timestamp of the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uniqueContributors
InsightRuleMetricDatapoint.Builder uniqueContributors(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxContributorValue
InsightRuleMetricDatapoint.Builder maxContributorValue(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleCount
InsightRuleMetricDatapoint.Builder sampleCount(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
average
InsightRuleMetricDatapoint.Builder average(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sum
InsightRuleMetricDatapoint.Builder sum(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimum
InsightRuleMetricDatapoint.Builder minimum(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximum
InsightRuleMetricDatapoint.Builder maximum(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-