Class CfnBackupSelectionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnBackupSelectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupSelectionPropsMixin>
- Enclosing class:
CfnBackupSelectionPropsMixin
@Stability(Stable)
public static final class CfnBackupSelectionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupSelectionPropsMixin>
A fluent builder for
CfnBackupSelectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbackupPlanId(String backupPlanId) Uniquely identifies a backup plan.backupPlanId(IBackupPlanRef backupPlanId) Uniquely identifies a backup plan.Specifies the body of a request to assign a set of resources to a backup plan.backupSelection(IResolvable backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.build()create()create(CfnPropertyMixinOptions options)
-
Method Details
-
create
@Stability(Stable) public static CfnBackupSelectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnBackupSelectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnBackupSelectionPropsMixin.Builder.
-
backupPlanId
Uniquely identifies a backup plan.- Parameters:
backupPlanId- Uniquely identifies a backup plan. This parameter is required.- Returns:
this- See Also:
-
backupPlanId
@Stability(Stable) public CfnBackupSelectionPropsMixin.Builder backupPlanId(IBackupPlanRef backupPlanId) Uniquely identifies a backup plan.- Parameters:
backupPlanId- Uniquely identifies a backup plan. This parameter is required.- Returns:
this- See Also:
-
backupSelection
@Stability(Stable) public CfnBackupSelectionPropsMixin.Builder backupSelection(IResolvable 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 CfnBackupSelectionPropsMixin.Builder backupSelection(CfnBackupSelectionPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupSelectionPropsMixin>- Returns:
- a newly built instance of
CfnBackupSelectionPropsMixin.
-