class
Amazonite::CloudWatchLogs::TypeConverter
- Amazonite::CloudWatchLogs::TypeConverter
- Reference
- Object
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
- JSON::Serializable
Defined in:
cloudwatch_logs/type_converter.crConstructors
- .new(entries : Array(TypeConverterEntry))
- .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. -
#entries : Array(TypeConverterEntry)
An array of
TypeConverterEntryobjects, where each object contains the information about one field to change the type of. -
#entries=(entries : Array(TypeConverterEntry))
An array of
TypeConverterEntryobjects, where each object contains the information about one field to change the type of. -
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
An array of TypeConverterEntry objects, where each object contains the information about one
field to change the type of.
An array of TypeConverterEntry objects, where each object contains the information about one
field to change the type of.