MetricStat class

This structure defines the metric to be returned, along with the statistics, period, and units.

Constructors

MetricStat({@_s.required Metric metric, @_s.required int period, @_s.required String stat, StandardUnit unit})
MetricStat.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
metric Metric
The metric to return, including the metric name, namespace, and dimensions.
final
period int
The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stat String
The statistic to return. It can include any CloudWatch statistic or extended statistic.
final
unit StandardUnit
When you are using a Put operation, this defines what unit you want to use when storing the metric. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited