Class CfnBackupSelectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnBackupSelectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupSelectionMixinProps>
- Enclosing interface:
CfnBackupSelectionMixinProps
@Stability(Stable)
public static final class CfnBackupSelectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupSelectionMixinProps>
A builder for
CfnBackupSelectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupPlanId(String backupPlanId) Sets the value ofCfnBackupSelectionMixinProps.getBackupPlanId()backupPlanId(IBackupPlanRef backupPlanId) Sets the value ofCfnBackupSelectionMixinProps.getBackupPlanId()Sets the value ofCfnBackupSelectionMixinProps.getBackupSelection()backupSelection(IResolvable backupSelection) Sets the value ofCfnBackupSelectionMixinProps.getBackupSelection()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupPlanId
Sets the value ofCfnBackupSelectionMixinProps.getBackupPlanId()- Parameters:
backupPlanId- Uniquely identifies a backup plan.- Returns:
this
-
backupPlanId
@Stability(Stable) public CfnBackupSelectionMixinProps.Builder backupPlanId(IBackupPlanRef backupPlanId) Sets the value ofCfnBackupSelectionMixinProps.getBackupPlanId()- Parameters:
backupPlanId- Uniquely identifies a backup plan.- Returns:
this
-
backupSelection
@Stability(Stable) public CfnBackupSelectionMixinProps.Builder backupSelection(IResolvable backupSelection) Sets the value ofCfnBackupSelectionMixinProps.getBackupSelection()- Parameters:
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.- Returns:
this
-
backupSelection
@Stability(Stable) public CfnBackupSelectionMixinProps.Builder backupSelection(CfnBackupSelectionPropsMixin.BackupSelectionResourceTypeProperty backupSelection) Sets the value ofCfnBackupSelectionMixinProps.getBackupSelection()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupSelectionMixinProps>- Returns:
- a new instance of
CfnBackupSelectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-