class
Amazonite::CloudWatchLogs::MetricFilterMatchRecord
- Amazonite::CloudWatchLogs::MetricFilterMatchRecord
- Reference
- Object
Overview
Represents a matched event.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/metric_filter_match_record.crConstructors
- .new(pull : JSON::PullParser)
- .new(event_number : Int64 | Nil = nil, event_message : String | Nil = nil, extracted_values : Hash(String, String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#event_message : String | Nil
The raw event data.
-
#event_message=(event_message : String | Nil)
The raw event data.
-
#event_number : Int64 | Nil
The event number.
-
#event_number=(event_number : Int64 | Nil)
The event number.
-
#extracted_values : Hash(String, String) | Nil
The values extracted from the event data by the filter.
-
#extracted_values=(extracted_values : Hash(String, String) | Nil)
The values extracted from the event data by the filter.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
def self.new(event_number : Int64 | Nil = nil, event_message : String | Nil = nil, extracted_values : Hash(String, String) | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def extracted_values : Hash(String, String) | Nil
#
The values extracted from the event data by the filter.
def extracted_values=(extracted_values : Hash(String, String) | Nil)
#
The values extracted from the event data by the filter.