Backup class
Contains information about a backup of an AWS CloudHSM cluster. All backup
objects contain the BackupId
, BackupState
,
ClusterId
, and CreateTimestamp
parameters. Backups
that were copied into a destination region additionally contain the
CopyTimestamp
, SourceBackup
,
SourceCluster
, and SourceRegion
parameters. A
backup that is pending deletion will include the
DeleteTimestamp
parameter.
Constructors
-
Backup({required String backupId, BackupState? backupState, String? clusterId, DateTime? copyTimestamp, DateTime? createTimestamp, DateTime? deleteTimestamp, bool? neverExpires, String? sourceBackup, String? sourceCluster, String? sourceRegion, List<
Tag> ? tagList}) -
Backup.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backupId → String
-
The identifier (ID) of the backup.
final
- backupState → BackupState?
-
The state of the backup.
final
- clusterId → String?
-
The identifier (ID) of the cluster that was backed up.
final
- copyTimestamp → DateTime?
-
The date and time when the backup was copied from a source backup.
final
- createTimestamp → DateTime?
-
The date and time when the backup was created.
final
- deleteTimestamp → DateTime?
-
The date and time when the backup will be permanently deleted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- neverExpires → bool?
-
Specifies whether the service should exempt a backup from the retention
policy for the cluster.
True
exempts a backup from the retention policy.False
means the service applies the backup retention policy defined at the cluster.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceBackup → String?
-
The identifier (ID) of the source backup from which the new backup was
copied.
final
- sourceCluster → String?
-
The identifier (ID) of the cluster containing the source backup from which
the new backup was copied.
final
- sourceRegion → String?
-
The AWS Region that contains the source backup from which the new backup was
copied.
final
-
tagList
→ List<
Tag> ? -
The list of tags for the backup.
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