class Amazonite::CloudWatchLogs::RecordField

Overview

A structure that represents a valid record field header and whether it is mandatory.

Included Modules

Defined in:

cloudwatch_logs/record_field.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(name : String | Nil = nil, mandatory : Bool | Nil = nil) #

[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 mandatory : Bool | Nil #

If this is true, the record field must be present in the recordFields parameter provided to a CreateDelivery or UpdateDeliveryConfiguration operation.


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

If this is true, the record field must be present in the recordFields parameter provided to a CreateDelivery or UpdateDeliveryConfiguration operation.


[View source]
def name : String | Nil #

The name to use when specifying this record field in a CreateDelivery or UpdateDeliveryConfiguration operation.


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

The name to use when specifying this record field in a CreateDelivery or UpdateDeliveryConfiguration operation.


[View source]
def validate! : Nil #

[View source]