Class CfnBackupPlan.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupPlan.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupPlan>
- Enclosing class:
- CfnBackupPlan
@Stability(Stable)
public static final class CfnBackupPlan.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupPlan>
A fluent builder for
CfnBackupPlan
.-
Method Summary
Modifier and TypeMethodDescriptionbackupPlan
(IResolvable backupPlan) Uniquely identifies the backup plan to be associated with the selection of resources.Uniquely identifies the backup plan to be associated with the selection of resources.backupPlanTags
(Map<String, String> backupPlanTags) To help organize your resources, you can assign your own metadata to the resources that you create.backupPlanTags
(IResolvable backupPlanTags) To help organize your resources, you can assign your own metadata to the resources that you create.build()
static CfnBackupPlan.Builder
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnBackupPlan.Builder
.
-
backupPlan
@Stability(Stable) public CfnBackupPlan.Builder backupPlan(CfnBackupPlan.BackupPlanResourceTypeProperty backupPlan) Uniquely identifies the backup plan to be associated with the selection of resources.- Parameters:
backupPlan
- Uniquely identifies the backup plan to be associated with the selection of resources. This parameter is required.- Returns:
this
-
backupPlan
Uniquely identifies the backup plan to be associated with the selection of resources.- Parameters:
backupPlan
- Uniquely identifies the backup plan to be associated with the selection of resources. This parameter is required.- Returns:
this
-
backupPlanTags
To help organize your resources, you can assign your own metadata to the resources that you create.Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
- Parameters:
backupPlanTags
- To help organize your resources, you can assign your own metadata to the resources that you create. This parameter is required.- Returns:
this
-
backupPlanTags
To help organize your resources, you can assign your own metadata to the resources that you create.Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
- Parameters:
backupPlanTags
- To help organize your resources, you can assign your own metadata to the resources that you create. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBackupPlan>
- Returns:
- a newly built instance of
CfnBackupPlan
.
-