Class InsightRuleMetricDatapoint
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
One data point from the metric time series returned in a Contributor Insights rule report.
For more information, see GetInsightRuleReport.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Doubleaverage()The average value from all contributors during the time period represented by that data point.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final DoubleThe maximum value provided by one contributor during this timestamp.final Doublemaximum()The maximum value from a single occurence from a single contributor during the time period represented by that data point.final Doubleminimum()The minimum value from a single contributor during the time period represented by that data point.final DoubleThe number of occurrences that matched the rule during this data point.static Class<? extends InsightRuleMetricDatapoint.Builder>final Doublesum()The sum of the values from all contributors during the time period represented by that data point.final InstantThe timestamp of the data point.final StringtoString()Returns a string representation of this object.final DoubleThe number of unique contributors who published data during this timestamp.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
timestamp
The timestamp of the data point.
- Returns:
- The timestamp of the data point.
-
uniqueContributors
The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the
Metricsarray in your request.- Returns:
- The number of unique contributors who published data during this timestamp.
This statistic is returned only if you included it in the
Metricsarray 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
Metricsarray in your request.- Returns:
- 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
Metricsarray 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
Metricsarray in your request.- Returns:
- The number of occurrences that matched the rule during this data point.
This statistic is returned only if you included it in the
Metricsarray 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
Metricsarray in your request.- Returns:
- 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
Metricsarray 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
Metricsarray in your request.- Returns:
- 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
Metricsarray 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
Metricsarray in your request.- Returns:
- 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
Metricsarray 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
Metricsarray in your request.- Returns:
- 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
Metricsarray in your request.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-