class
Amazonite::CloudWatchLogs::AddKeyEntry
- Amazonite::CloudWatchLogs::AddKeyEntry
- Reference
- Object
Overview
This object defines one key that will be added with the addKeys processor.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/add_key_entry.crConstructors
- .new(key : String, value : String, overwrite_if_exists : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#key : String
The key of the new entry to be added to the log event
-
#key=(key : String)
The key of the new entry to be added to the log event
-
#overwrite_if_exists : Bool | Nil
Specifies whether to overwrite the value if the key already exists in the log event.
-
#overwrite_if_exists=(overwrite_if_exists : Bool | Nil)
Specifies whether to overwrite the value if the key already exists in the log event.
- #validate! : Nil
-
#value : String
The value of the new entry to be added to the log event
-
#value=(value : String)
The value of the new entry to be added to the log event
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Specifies whether to overwrite the value if the key already exists in the log event. If you omit
this, the default is false.
Specifies whether to overwrite the value if the key already exists in the log event. If you omit
this, the default is false.