Archive class

An Archive object that contains details about an archive.

Constructors

Archive({String? archiveName, DateTime? creationTime, int? eventCount, String? eventSourceArn, int? retentionDays, int? sizeBytes, ArchiveState? state, String? stateReason})
Archive.fromJson(Map<String, dynamic> json)
factory

Properties

archiveName String?
The name of the archive.
final
creationTime DateTime?
The time stamp for the time that the archive was created.
final
eventCount int?
The number of events in the archive.
final
eventSourceArn String?
The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.
final
hashCode int
The hash code for this object.
no setterinherited
retentionDays int?
The number of days to retain events in the archive before they are deleted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes int?
The size of the archive, in bytes.
final
state ArchiveState?
The current state of the archive.
final
stateReason String?
A description for the reason that the archive is in the current state.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited