class Amazonite::CloudWatch::AlarmContributor

Overview

Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.

Included Modules

Defined in:

cloudwatch/alarm_contributor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(contributor_id : String, contributor_attributes : Hash(String, String), state_reason : String, state_transitioned_timestamp : Time | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 contributor_attributes : Hash(String, String) #

A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.


[View source]
def contributor_attributes=(contributor_attributes : Hash(String, String)) #

A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.


[View source]
def contributor_id : String #

The unique identifier for this alarm contributor.


[View source]
def contributor_id=(contributor_id : String) #

The unique identifier for this alarm contributor.


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

See Object#hash(hasher)


def state_reason : String #

An explanation for the contributor's current state, providing context about why it is in its current condition.


[View source]
def state_reason=(state_reason : String) #

An explanation for the contributor's current state, providing context about why it is in its current condition.


[View source]
def state_transitioned_timestamp : Time | Nil #

The timestamp when the contributor last transitioned to its current state.


[View source]
def state_transitioned_timestamp=(state_transitioned_timestamp : Time | Nil) #

The timestamp when the contributor last transitioned to its current state.


[View source]
def validate! : Nil #

[View source]