class
Amazonite::CloudWatch::AlarmContributor
- Amazonite::CloudWatch::AlarmContributor
- Reference
- Object
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
- JSON::Serializable
Defined in:
cloudwatch/alarm_contributor.crConstructors
- .new(contributor_id : String, contributor_attributes : Hash(String, String), state_reason : String, state_transitioned_timestamp : Time | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#contributor_attributes : Hash(String, String)
A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.
-
#contributor_attributes=(contributor_attributes : Hash(String, String))
A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.
-
#contributor_id : String
The unique identifier for this alarm contributor.
-
#contributor_id=(contributor_id : String)
The unique identifier for this alarm contributor.
-
#hash(hasher)
See
Object#hash(hasher) -
#state_reason : String
An explanation for the contributor's current state, providing context about why it is in its current condition.
-
#state_reason=(state_reason : String)
An explanation for the contributor's current state, providing context about why it is in its current condition.
-
#state_transitioned_timestamp : Time | Nil
The timestamp when the contributor last transitioned to its current state.
-
#state_transitioned_timestamp=(state_transitioned_timestamp : Time | Nil)
The timestamp when the contributor last transitioned to its current state.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.
A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.
An explanation for the contributor's current state, providing context about why it is in its current condition.
An explanation for the contributor's current state, providing context about why it is in its current condition.
The timestamp when the contributor last transitioned to its current state.
The timestamp when the contributor last transitioned to its current state.