class
Amazonite::CloudWatchLogs::LogFieldType
- Amazonite::CloudWatchLogs::LogFieldType
- Reference
- Object
Overview
Defines the data type structure for a log field, including the type, element information, and nested fields for complex types.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/log_field_type.crConstructors
- .new(pull : JSON::PullParser)
- .new(type : String | Nil = nil, element : LogFieldType | Nil = nil, fields : Array(LogFieldsListItem) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#element : LogFieldType | Nil
For array or collection types, specifies the element type information.
-
#element=(element : LogFieldType | Nil)
For array or collection types, specifies the element type information.
-
#fields : Array(LogFieldsListItem) | Nil
For complex types, contains the nested field definitions.
-
#fields=(fields : Array(LogFieldsListItem) | Nil)
For complex types, contains the nested field definitions.
-
#hash(hasher)
See
Object#hash(hasher) -
#type : String | Nil
The data type of the log field.
-
#type=(type : String | Nil)
The data type of the log field.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
For array or collection types, specifies the element type information.
For array or collection types, specifies the element type information.
For complex types, contains the nested field definitions.
For complex types, contains the nested field definitions.