@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.848Z") @Stability(value=Stable) 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 |
|---|---|
|
BackupPlanRule(BackupPlanRuleProps props) |
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.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BackupPlanRule(software.amazon.jsii.JsiiObjectRef objRef)
protected BackupPlanRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public BackupPlanRule(@NotNull
BackupPlanRuleProps props)
props - Rule properties. This parameter is required.@Stability(value=Stable) @NotNull public static BackupPlanRule daily(@Nullable IBackupVault backupVault)
backupVault - @Stability(value=Stable) @NotNull public static BackupPlanRule daily()
@Stability(value=Stable) @NotNull public static BackupPlanRule monthly1Year(@Nullable IBackupVault backupVault)
backupVault - @Stability(value=Stable) @NotNull public static BackupPlanRule monthly1Year()
@Stability(value=Stable) @NotNull public static BackupPlanRule monthly5Year(@Nullable IBackupVault backupVault)
backupVault - @Stability(value=Stable) @NotNull public static BackupPlanRule monthly5Year()
@Stability(value=Stable) @NotNull public static BackupPlanRule monthly7Year(@Nullable IBackupVault backupVault)
backupVault - @Stability(value=Stable) @NotNull public static BackupPlanRule monthly7Year()
@Stability(value=Stable) @NotNull public static BackupPlanRule weekly(@Nullable IBackupVault backupVault)
backupVault - @Stability(value=Stable) @NotNull public static BackupPlanRule weekly()
@Stability(value=Stable) @NotNull public BackupPlanRuleProps getProps()
Copyright © 2022. All rights reserved.