Class BackupPlanRule
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.backup.BackupPlanRule
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.596Z")
@Stability(Stable)
public class BackupPlanRule
extends software.amazon.jsii.JsiiObject
A backup plan rule.
Example:
BackupPlan plan; plan.addRule(BackupPlanRule.daily()); plan.addRule(BackupPlanRule.weekly());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
BackupPlanRule
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
BackupPlanRule
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic BackupPlanRule
daily()
Daily with 35 days retention.static BackupPlanRule
daily
(IBackupVault backupVault) Daily with 35 days retention.getProps()
Properties of BackupPlanRule.static BackupPlanRule
Monthly 1 year retention, move to cold storage after 1 month.static BackupPlanRule
monthly1Year
(IBackupVault backupVault) Monthly 1 year retention, move to cold storage after 1 month.static BackupPlanRule
Monthly 5 year retention, move to cold storage after 3 months.static BackupPlanRule
monthly5Year
(IBackupVault backupVault) Monthly 5 year retention, move to cold storage after 3 months.static BackupPlanRule
Monthly 7 year retention, move to cold storage after 3 months.static BackupPlanRule
monthly7Year
(IBackupVault backupVault) Monthly 7 year retention, move to cold storage after 3 months.static BackupPlanRule
weekly()
Weekly with 3 months retention.static BackupPlanRule
weekly
(IBackupVault backupVault) Weekly with 3 months retention.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
BackupPlanRule
protected BackupPlanRule(software.amazon.jsii.JsiiObjectRef objRef) -
BackupPlanRule
protected BackupPlanRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
BackupPlanRule
- Parameters:
props
- Rule properties. This parameter is required.
-
-
Method Details
-
daily
Daily with 35 days retention.- Parameters:
backupVault
-
-
daily
Daily with 35 days retention. -
monthly1Year
@Stability(Stable) @NotNull public static BackupPlanRule monthly1Year(@Nullable IBackupVault backupVault) Monthly 1 year retention, move to cold storage after 1 month.- Parameters:
backupVault
-
-
monthly1Year
Monthly 1 year retention, move to cold storage after 1 month. -
monthly5Year
@Stability(Stable) @NotNull public static BackupPlanRule monthly5Year(@Nullable IBackupVault backupVault) Monthly 5 year retention, move to cold storage after 3 months.- Parameters:
backupVault
-
-
monthly5Year
Monthly 5 year retention, move to cold storage after 3 months. -
monthly7Year
@Stability(Stable) @NotNull public static BackupPlanRule monthly7Year(@Nullable IBackupVault backupVault) Monthly 7 year retention, move to cold storage after 3 months.- Parameters:
backupVault
-
-
monthly7Year
Monthly 7 year retention, move to cold storage after 3 months. -
weekly
Weekly with 3 months retention.- Parameters:
backupVault
-
-
weekly
Weekly with 3 months retention. -
getProps
Properties of BackupPlanRule.
-