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) The tags to assign to the backup plan.build()
static CfnBackupPlan.Builder
-
Method Details
-
create
@Stability(Stable) public static CfnBackupPlan.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBackupPlan.Builder
.
-
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
- See Also:
-
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
- See Also:
-
backupPlanTags
The tags to assign to the backup plan.- Parameters:
backupPlanTags
- The tags to assign to the backup plan. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBackupPlan>
- Returns:
- a newly built instance of
CfnBackupPlan
.
-