class Amazonite::CloudWatchLogs::RenameKeyEntry

Overview

This object defines one key that will be renamed with the renameKey processor.

Included Modules

Defined in:

cloudwatch_logs/rename_key_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, rename_to : String, overwrite_if_exists : Bool | Nil = nil) #

[View source]
def self.new(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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key : String #

The key to rename


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

The key to rename


[View source]
def overwrite_if_exists : Bool | Nil #

Specifies whether to overwrite the existing value if the destination key already exists. The default is false


[View source]
def overwrite_if_exists=(overwrite_if_exists : Bool | Nil) #

Specifies whether to overwrite the existing value if the destination key already exists. The default is false


[View source]
def rename_to : String #

The string to use for the new key name


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

The string to use for the new key name


[View source]
def validate! : Nil #

[View source]