BackupRule class
Specifies a scheduled task used to back up a selection of resources.
Constructors
-
BackupRule({required String ruleName, required String targetBackupVaultName, int? completionWindowMinutes, List<
CopyAction> ? copyActions, Lifecycle? lifecycle, Map<String, String> ? recoveryPointTags, String? ruleId, String? scheduleExpression, int? startWindowMinutes}) -
BackupRule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- completionWindowMinutes → int?
-
A value in minutes after a backup job is successfully started before it must
be completed or it will be canceled by AWS Backup. This value is optional.
final
-
copyActions
→ List<
CopyAction> ? -
An array of
CopyAction
objects, which contains the details of the copy operation.final - hashCode → int
-
The hash code for this object.
no setterinherited
- lifecycle → Lifecycle?
-
The lifecycle defines when a protected resource is transitioned to cold
storage and when it expires. AWS Backup transitions and expires backups
automatically according to the lifecycle that you define.
final
-
recoveryPointTags
→ Map<
String, String> ? -
An array of key-value pair strings that are assigned to resources that are
associated with this rule when restored from backup.
final
- ruleId → String?
-
Uniquely identifies a rule that is used to schedule the backup of a
selection of resources.
final
- ruleName → String
-
An optional display name for a backup rule.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduleExpression → String?
-
A CRON expression specifying when AWS Backup initiates a backup job. For
more information about cron expressions, see Schedule
Expressions for Rules in the Amazon CloudWatch Events User
Guide.. Prior to specifying a value for this parameter, we recommend
testing your cron expression using one of the many available cron generator
and testing tools.
final
- startWindowMinutes → int?
-
A value in minutes after a backup is scheduled before a job will be canceled
if it doesn't start successfully. This value is optional.
final
- targetBackupVaultName → String
-
The name of a logical container where backups are stored. Backup vaults are
identified by names that are unique to the account used to create them and
the AWS Region where they are created. They consist of lowercase letters,
numbers, and hyphens.
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