class
Amazonite::CloudWatch::EntityMetricData
- Amazonite::CloudWatch::EntityMetricData
- Reference
- Object
Overview
A set of metrics that are associated with an entity, such as a specific service or resource. Contains the entity and the list of metric data associated with it.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/entity_metric_data.crConstructors
- .new(pull : JSON::PullParser)
- .new(entity : Entity | Nil = nil, metric_data : Array(MetricDatum) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#entity : Entity | Nil
The entity associated with the metrics.
-
#entity=(entity : Entity | Nil)
The entity associated with the metrics.
-
#hash(hasher)
See
Object#hash(hasher) -
#metric_data : Array(MetricDatum) | Nil
The metric data.
-
#metric_data=(metric_data : Array(MetricDatum) | Nil)
The metric data.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.