class Amazonite::CloudWatchLogs::TypeConverter

Overview

Use this processor to convert a value type associated with the specified key to the specified type. It's a casting processor that changes the types of the specified fields. Values can be converted into one of the following datatypes: integer, double, string and boolean.

For more information about this processor including examples, see trimString in the CloudWatch Logs User Guide.

Included Modules

Defined in:

cloudwatch_logs/type_converter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entries : Array(TypeConverterEntry)) #

[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 entries : Array(TypeConverterEntry) #

An array of TypeConverterEntry objects, where each object contains the information about one field to change the type of.


[View source]
def entries=(entries : Array(TypeConverterEntry)) #

An array of TypeConverterEntry objects, where each object contains the information about one field to change the type of.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]