Class CfnBackupPlanMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnBackupPlanMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupPlanMixinProps>
- Enclosing interface:
CfnBackupPlanMixinProps
@Stability(Stable)
public static final class CfnBackupPlanMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupPlanMixinProps>
A builder for
CfnBackupPlanMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBackupPlanMixinProps.getBackupPlan()backupPlan(IResolvable backupPlan) Sets the value ofCfnBackupPlanMixinProps.getBackupPlan()backupPlanTags(Map<String, String> backupPlanTags) Sets the value ofCfnBackupPlanMixinProps.getBackupPlanTags()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupPlan
Sets the value ofCfnBackupPlanMixinProps.getBackupPlan()- Parameters:
backupPlan- Uniquely identifies the backup plan to be associated with the selection of resources.- Returns:
this
-
backupPlan
@Stability(Stable) public CfnBackupPlanMixinProps.Builder backupPlan(CfnBackupPlanPropsMixin.BackupPlanResourceTypeProperty backupPlan) Sets the value ofCfnBackupPlanMixinProps.getBackupPlan()- Parameters:
backupPlan- Uniquely identifies the backup plan to be associated with the selection of resources.- Returns:
this
-
backupPlanTags
@Stability(Stable) public CfnBackupPlanMixinProps.Builder backupPlanTags(Map<String, String> backupPlanTags) Sets the value ofCfnBackupPlanMixinProps.getBackupPlanTags()- Parameters:
backupPlanTags- The tags to assign to the backup plan.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupPlanMixinProps>- Returns:
- a new instance of
CfnBackupPlanMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-