class
Amazonite::CloudWatchLogs::CopyValueEntry
- Amazonite::CloudWatchLogs::CopyValueEntry
- Reference
- Object
Overview
This object defines one value to be copied with the copyValue processor.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/copy_value_entry.crConstructors
- .new(source : String, target : String, overwrite_if_exists : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#overwrite_if_exists : Bool | Nil
Specifies whether to overwrite the value if the destination key already exists.
-
#overwrite_if_exists=(overwrite_if_exists : Bool | Nil)
Specifies whether to overwrite the value if the destination key already exists.
-
#source : String
The key to copy.
-
#source=(source : String)
The key to copy.
-
#target : String
The key of the field to copy the value to.
-
#target=(target : String)
The key of the field to copy the value to.
- #validate! : Nil
Constructor Detail
def self.new(source : String, target : String, overwrite_if_exists : Bool | 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 overwrite_if_exists : Bool | Nil
#
Specifies whether to overwrite the value if the destination key already exists. If you omit
this, the default is false.
def overwrite_if_exists=(overwrite_if_exists : Bool | Nil)
#
Specifies whether to overwrite the value if the destination key already exists. If you omit
this, the default is false.