class Amazonite::EventBridge::Archive

Overview

An Archive object that contains details about an archive.

Included Modules

Defined in:

eventbridge/archive.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(archive_name : String | Nil = nil, event_source_arn : String | Nil = nil, state : ArchiveState | Nil = nil, state_reason : String | Nil = nil, retention_days : Int32 | Nil = nil, size_bytes : Int64 | Nil = nil, event_count : Int64 | Nil = nil, creation_time : Time | 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 archive_name : String | Nil #

The name of the archive.


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

The name of the archive.


[View source]
def creation_time : Time | Nil #

The time stamp for the time that the archive was created.


[View source]
def creation_time=(creation_time : Time | Nil) #

The time stamp for the time that the archive was created.


[View source]
def event_count : Int64 | Nil #

The number of events in the archive.


[View source]
def event_count=(event_count : Int64 | Nil) #

The number of events in the archive.


[View source]
def event_source_arn : String | Nil #

The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.


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

The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.


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

See Object#hash(hasher)


def retention_days : Int32 | Nil #

The number of days to retain events in the archive before they are deleted.


[View source]
def retention_days=(retention_days : Int32 | Nil) #

The number of days to retain events in the archive before they are deleted.


[View source]
def size_bytes : Int64 | Nil #

The size of the archive, in bytes.


[View source]
def size_bytes=(size_bytes : Int64 | Nil) #

The size of the archive, in bytes.


[View source]
def state : ArchiveState | Nil #

The current state of the archive.


[View source]
def state=(state : ArchiveState | Nil) #

The current state of the archive.


[View source]
def state_reason : String | Nil #

A description for the reason that the archive is in the current state.


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

A description for the reason that the archive is in the current state.


[View source]
def validate! : Nil #

[View source]