Class InsightRuleMetricDatapoint
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatch.model.InsightRuleMetricDatapoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
@Generated("software.amazon.awssdk:codegen") public final class InsightRuleMetricDatapoint extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInsightRuleMetricDatapoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doubleaverage()The average value from all contributors during the time period represented by that data point.static InsightRuleMetricDatapoint.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemaxContributorValue()The maximum value provided by one contributor during this timestamp.Doublemaximum()The maximum value from a single occurence from a single contributor during the time period represented by that data point.Doubleminimum()The minimum value from a single contributor during the time period represented by that data point.DoublesampleCount()The number of occurrences that matched the rule during this data point.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InsightRuleMetricDatapoint.Builder>serializableBuilderClass()Doublesum()The sum of the values from all contributors during the time period represented by that data point.Instanttimestamp()The timestamp of the data point.InsightRuleMetricDatapoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.DoubleuniqueContributors()The number of unique contributors who published data during this timestamp.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timestamp
public final Instant timestamp()
The timestamp of the data point.
- Returns:
- The timestamp of the data point.
-
uniqueContributors
public final Double 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
public final 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
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
public final 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
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
public final 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
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
public final 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
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
public final 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
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
public final 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
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
public InsightRuleMetricDatapoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InsightRuleMetricDatapoint.Builder,InsightRuleMetricDatapoint>
-
builder
public static InsightRuleMetricDatapoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends InsightRuleMetricDatapoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-