@Stability(value=Stable)
public static interface CfnBackupPlan.BackupPlanResourceTypeProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;
Object backupOptions;
BackupPlanResourceTypeProperty backupPlanResourceTypeProperty = BackupPlanResourceTypeProperty.builder()
.backupPlanName("backupPlanName")
.backupPlanRule(List.of(BackupRuleResourceTypeProperty.builder()
.ruleName("ruleName")
.targetBackupVault("targetBackupVault")
// the properties below are optional
.completionWindowMinutes(123)
.copyActions(List.of(CopyActionResourceTypeProperty.builder()
.destinationBackupVaultArn("destinationBackupVaultArn")
// the properties below are optional
.lifecycle(LifecycleResourceTypeProperty.builder()
.deleteAfterDays(123)
.moveToColdStorageAfterDays(123)
.build())
.build()))
.enableContinuousBackup(false)
.lifecycle(LifecycleResourceTypeProperty.builder()
.deleteAfterDays(123)
.moveToColdStorageAfterDays(123)
.build())
.recoveryPointTags(Map.of(
"recoveryPointTagsKey", "recoveryPointTags"))
.scheduleExpression("scheduleExpression")
.startWindowMinutes(123)
.build()))
// the properties below are optional
.advancedBackupSettings(List.of(AdvancedBackupSettingResourceTypeProperty.builder()
.backupOptions(backupOptions)
.resourceType("resourceType")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBackupPlan.BackupPlanResourceTypeProperty.Builder
A builder for
CfnBackupPlan.BackupPlanResourceTypeProperty |
static class |
CfnBackupPlan.BackupPlanResourceTypeProperty.Jsii$Proxy
An implementation for
CfnBackupPlan.BackupPlanResourceTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBackupPlan.BackupPlanResourceTypeProperty.Builder |
builder() |
default Object |
getAdvancedBackupSettings()
A list of backup options for each resource type.
|
String |
getBackupPlanName()
The display name of a backup plan.
|
Object |
getBackupPlanRule()
An array of `BackupRule` objects, each of which specifies a scheduled task that is used to back up a selection of resources.
|
@Stability(value=Stable) @NotNull String getBackupPlanName()
@Stability(value=Stable) @NotNull Object getBackupPlanRule()
@Stability(value=Stable) @Nullable default Object getAdvancedBackupSettings()
@Stability(value=Stable) static CfnBackupPlan.BackupPlanResourceTypeProperty.Builder builder()
Copyright © 2022. All rights reserved.