class Amazonite::CloudWatchLogs::LogFieldType

Overview

Defines the data type structure for a log field, including the type, element information, and nested fields for complex types.

Included Modules

Defined in:

cloudwatch_logs/log_field_type.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(type : String | Nil = nil, element : LogFieldType | Nil = nil, fields : Array(LogFieldsListItem) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable 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 element : LogFieldType | Nil #

For array or collection types, specifies the element type information.


[View source]
def element=(element : LogFieldType | Nil) #

For array or collection types, specifies the element type information.


[View source]
def fields : Array(LogFieldsListItem) | Nil #

For complex types, contains the nested field definitions.


[View source]
def fields=(fields : Array(LogFieldsListItem) | Nil) #

For complex types, contains the nested field definitions.


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

See Object#hash(hasher)


def type : String | Nil #

The data type of the log field.


[View source]
def type=(type : String | Nil) #

The data type of the log field.


[View source]
def validate! : Nil #

[View source]