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 interface
InsightRuleMetricDatapoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
average()
The average value from all contributors during the time period represented by that data point.static InsightRuleMetricDatapoint.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Double
maxContributorValue()
The maximum value provided by one contributor during this timestamp.Double
maximum()
The maximum value from a single occurence from a single contributor during the time period represented by that data point.Double
minimum()
The minimum value from a single contributor during the time period represented by that data point.Double
sampleCount()
The number of occurrences that matched the rule during this data point.List<SdkField<?>>
sdkFields()
static Class<? extends InsightRuleMetricDatapoint.Builder>
serializableBuilderClass()
Double
sum()
The sum of the values from all contributors during the time period represented by that data point.Instant
timestamp()
The timestamp of the data point.InsightRuleMetricDatapoint.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Double
uniqueContributors()
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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array 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
Metrics
array in your request.
-
toBuilder
public InsightRuleMetricDatapoint.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-