Class CfnBackupPlanProps.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupPlanProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupPlanProps>
- Enclosing interface:
CfnBackupPlanProps
@Stability(Stable)
public static final class CfnBackupPlanProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupPlanProps>
A builder for
CfnBackupPlanProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupPlan(IResolvable backupPlan) Sets the value ofCfnBackupPlanProps.getBackupPlan()Sets the value ofCfnBackupPlanProps.getBackupPlan()backupPlanTags(Map<String, String> backupPlanTags) Sets the value ofCfnBackupPlanProps.getBackupPlanTags()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backupPlan
Sets the value ofCfnBackupPlanProps.getBackupPlan()- Parameters:
backupPlan- Uniquely identifies the backup plan to be associated with the selection of resources. This parameter is required.- Returns:
this
-
backupPlan
@Stability(Stable) public CfnBackupPlanProps.Builder backupPlan(CfnBackupPlan.BackupPlanResourceTypeProperty backupPlan) Sets the value ofCfnBackupPlanProps.getBackupPlan()- Parameters:
backupPlan- Uniquely identifies the backup plan to be associated with the selection of resources. This parameter is required.- Returns:
this
-
backupPlanTags
@Stability(Stable) public CfnBackupPlanProps.Builder backupPlanTags(Map<String, String> backupPlanTags) Sets the value ofCfnBackupPlanProps.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<CfnBackupPlanProps>- Returns:
- a new instance of
CfnBackupPlanProps - Throws:
NullPointerException- if any required attribute was not provided
-