Class CfnBackupSelection.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupSelection.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupSelection>
- Enclosing class:
CfnBackupSelection
@Stability(Stable)
public static final class CfnBackupSelection.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupSelection>
A fluent builder for
CfnBackupSelection
.-
Method Summary
Modifier and TypeMethodDescriptionbackupPlanId
(String backupPlanId) Uniquely identifies a backup plan.backupSelection
(IResolvable backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.backupSelection
(CfnBackupSelection.BackupSelectionResourceTypeProperty backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.build()
static CfnBackupSelection.Builder
-
Method Details
-
create
@Stability(Stable) public static CfnBackupSelection.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
CfnBackupSelection.Builder
.
-
backupPlanId
Uniquely identifies a backup plan.- Parameters:
backupPlanId
- Uniquely identifies a backup plan. This parameter is required.- Returns:
this
- See Also:
-
backupSelection
Specifies the body of a request to assign a set of resources to a backup plan.It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.
- Parameters:
backupSelection
- Specifies the body of a request to assign a set of resources to a backup plan. This parameter is required.- Returns:
this
- See Also:
-
backupSelection
@Stability(Stable) public CfnBackupSelection.Builder backupSelection(CfnBackupSelection.BackupSelectionResourceTypeProperty backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.
- Parameters:
backupSelection
- Specifies the body of a request to assign a set of resources to a backup plan. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBackupSelection>
- Returns:
- a newly built instance of
CfnBackupSelection
.
-