@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:12.701Z")
public class BackupPlanRule
extends software.amazon.jsii.JsiiObject
Example:
BackupPlan plan; plan.addRule(BackupPlanRule.daily()); plan.addRule(BackupPlanRule.weekly());
Modifier and Type | Class and Description |
---|---|
static class |
BackupPlanRule.Builder
A fluent builder for
BackupPlanRule . |
Modifier | Constructor and Description |
---|---|
protected |
BackupPlanRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BackupPlanRule(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static BackupPlanRule |
daily()
Daily with 35 days retention.
|
static BackupPlanRule |
daily(IBackupVault backupVault)
Daily with 35 days retention.
|
BackupPlanRuleProps |
getProps()
Properties of BackupPlanRule.
|
static BackupPlanRule |
monthly1Year()
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 |
monthly5Year()
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 |
monthly7Year()
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.
|
protected BackupPlanRule(software.amazon.jsii.JsiiObjectRef objRef)
protected BackupPlanRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static BackupPlanRule daily(IBackupVault backupVault)
backupVault
- public static BackupPlanRule daily()
public static BackupPlanRule monthly1Year(IBackupVault backupVault)
backupVault
- public static BackupPlanRule monthly1Year()
public static BackupPlanRule monthly5Year(IBackupVault backupVault)
backupVault
- public static BackupPlanRule monthly5Year()
public static BackupPlanRule monthly7Year(IBackupVault backupVault)
backupVault
- public static BackupPlanRule monthly7Year()
public static BackupPlanRule weekly(IBackupVault backupVault)
backupVault
- public static BackupPlanRule weekly()
public BackupPlanRuleProps getProps()