class
Amazonite::EventBridge::Archive
- Amazonite::EventBridge::Archive
- Reference
- Object
Overview
An Archive object that contains details about an archive.
Included Modules
- JSON::Serializable
Defined in:
eventbridge/archive.crConstructors
- .new(pull : JSON::PullParser)
- .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)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#archive_name : String | Nil
The name of the archive.
-
#archive_name=(archive_name : String | Nil)
The name of the archive.
-
#creation_time : Time | Nil
The time stamp for the time that the archive was created.
-
#creation_time=(creation_time : Time | Nil)
The time stamp for the time that the archive was created.
-
#event_count : Int64 | Nil
The number of events in the archive.
-
#event_count=(event_count : Int64 | Nil)
The number of events in the archive.
-
#event_source_arn : String | Nil
The ARN of the event bus associated with the archive.
-
#event_source_arn=(event_source_arn : String | Nil)
The ARN of the event bus associated with the archive.
-
#hash(hasher)
See
Object#hash(hasher) -
#retention_days : Int32 | Nil
The number of days to retain events in the archive before they are deleted.
-
#retention_days=(retention_days : Int32 | Nil)
The number of days to retain events in the archive before they are deleted.
-
#size_bytes : Int64 | Nil
The size of the archive, in bytes.
-
#size_bytes=(size_bytes : Int64 | Nil)
The size of the archive, in bytes.
-
#state : ArchiveState | Nil
The current state of the archive.
-
#state=(state : ArchiveState | Nil)
The current state of the archive.
-
#state_reason : String | Nil
A description for the reason that the archive is in the current state.
-
#state_reason=(state_reason : String | Nil)
A description for the reason that the archive is in the current state.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The time stamp for the time that the archive was created.
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
The number of days to retain events in the archive before they are deleted.
The number of days to retain events in the archive before they are deleted.
A description for the reason that the archive is in the current state.
A description for the reason that the archive is in the current state.