class Amazonite::CloudWatch::EntityMetricData

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

Defined in:

cloudwatch/entity_metric_data.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(entity : Entity | Nil = nil, metric_data : Array(MetricDatum) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def entity : Entity | Nil #

The entity associated with the metrics.


[View source]
def entity=(entity : Entity | Nil) #

The entity associated with the metrics.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def metric_data : Array(MetricDatum) | Nil #

The metric data.


[View source]
def metric_data=(metric_data : Array(MetricDatum) | Nil) #

The metric data.


[View source]
def validate! : Nil #

[View source]