@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.204Z") @Stability(value=Experimental) public class BackupPlan extends Resource implements IBackupPlan
| Modifier and Type | Class and Description |
|---|---|
static class |
BackupPlan.Builder
(experimental) A fluent builder for
BackupPlan. |
software.amazon.jsii.JsiiObject.InitializationModeIBackupPlan.Jsii$Default, IBackupPlan.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
BackupPlan(software.constructs.Construct scope,
String id) |
|
BackupPlan(software.constructs.Construct scope,
String id,
BackupPlanProps props) |
protected |
BackupPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BackupPlan(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(BackupPlanRule rule)
(experimental) Adds a rule to a plan.
|
BackupSelection |
addSelection(String id,
BackupSelectionOptions options)
(experimental) Adds a selection to this plan.
|
static BackupPlan |
daily35DayRetention(software.constructs.Construct scope,
String id)
(experimental) Daily with 35 day retention.
|
static BackupPlan |
daily35DayRetention(software.constructs.Construct scope,
String id,
IBackupVault backupVault)
(experimental) Daily with 35 day retention.
|
static BackupPlan |
dailyMonthly1YearRetention(software.constructs.Construct scope,
String id)
(experimental) Daily and monthly with 1 year retention.
|
static BackupPlan |
dailyMonthly1YearRetention(software.constructs.Construct scope,
String id,
IBackupVault backupVault)
(experimental) Daily and monthly with 1 year retention.
|
static BackupPlan |
dailyWeeklyMonthly5YearRetention(software.constructs.Construct scope,
String id)
(experimental) Daily, weekly and monthly with 5 year retention.
|
static BackupPlan |
dailyWeeklyMonthly5YearRetention(software.constructs.Construct scope,
String id,
IBackupVault backupVault)
(experimental) Daily, weekly and monthly with 5 year retention.
|
static BackupPlan |
dailyWeeklyMonthly7YearRetention(software.constructs.Construct scope,
String id)
(experimental) Daily, weekly and monthly with 7 year retention.
|
static BackupPlan |
dailyWeeklyMonthly7YearRetention(software.constructs.Construct scope,
String id,
IBackupVault backupVault)
(experimental) Daily, weekly and monthly with 7 year retention.
|
static IBackupPlan |
fromBackupPlanId(software.constructs.Construct scope,
String id,
String backupPlanId)
(experimental) Import an existing backup plan.
|
String |
getBackupPlanArn()
(experimental) The ARN of the backup plan.
|
String |
getBackupPlanId()
(experimental) The identifier of the backup plan.
|
IBackupVault |
getBackupVault()
(experimental) The backup vault where backups are stored if not defined at the rule level.
|
String |
getVersionId()
(experimental) Version Id.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BackupPlan(software.amazon.jsii.JsiiObjectRef objRef)
protected BackupPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public BackupPlan(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
BackupPlanProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public BackupPlan(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static BackupPlan daily35DayRetention(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable IBackupVault backupVault)
scope - This parameter is required.id - This parameter is required.backupVault - @Stability(value=Experimental) @NotNull public static BackupPlan daily35DayRetention(@NotNull software.constructs.Construct scope, @NotNull String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static BackupPlan dailyMonthly1YearRetention(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable IBackupVault backupVault)
scope - This parameter is required.id - This parameter is required.backupVault - @Stability(value=Experimental) @NotNull public static BackupPlan dailyMonthly1YearRetention(@NotNull software.constructs.Construct scope, @NotNull String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static BackupPlan dailyWeeklyMonthly5YearRetention(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable IBackupVault backupVault)
scope - This parameter is required.id - This parameter is required.backupVault - @Stability(value=Experimental) @NotNull public static BackupPlan dailyWeeklyMonthly5YearRetention(@NotNull software.constructs.Construct scope, @NotNull String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static BackupPlan dailyWeeklyMonthly7YearRetention(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable IBackupVault backupVault)
scope - This parameter is required.id - This parameter is required.backupVault - @Stability(value=Experimental) @NotNull public static BackupPlan dailyWeeklyMonthly7YearRetention(@NotNull software.constructs.Construct scope, @NotNull String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IBackupPlan fromBackupPlanId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String backupPlanId)
scope - This parameter is required.id - This parameter is required.backupPlanId - This parameter is required.@Stability(value=Experimental)
public void addRule(@NotNull
BackupPlanRule rule)
rule - the rule to add. This parameter is required.@Stability(value=Experimental) @NotNull public BackupSelection addSelection(@NotNull String id, @NotNull BackupSelectionOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull public String getBackupPlanArn()
@Stability(value=Experimental) @NotNull public String getBackupPlanId()
getBackupPlanId in interface IBackupPlan@Stability(value=Experimental) @NotNull public IBackupVault getBackupVault()
@Stability(value=Experimental) @NotNull public String getVersionId()
Copyright © 2021. All rights reserved.