Class CfnBackupPlan.Builder

java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupPlan.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupPlan>
Enclosing class:
CfnBackupPlan

@Stability(Stable) public static final class CfnBackupPlan.Builder extends Object implements software.amazon.jsii.Builder<CfnBackupPlan>
A fluent builder for CfnBackupPlan.
  • Method Details

    • create

      @Stability(Stable) public static CfnBackupPlan.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnBackupPlan.Builder.
    • backupPlan

      @Stability(Stable) public CfnBackupPlan.Builder backupPlan(CfnBackupPlan.BackupPlanResourceTypeProperty backupPlan)
      Uniquely identifies the backup plan to be associated with the selection of resources.

      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 CfnBackupPlan.Builder backupPlan(IResolvable backupPlan)
      Uniquely identifies the backup plan to be associated with the selection of resources.

      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 CfnBackupPlan.Builder backupPlanTags(IResolvable backupPlanTags)
      To help organize your resources, you can assign your own metadata to the resources that you create.

      Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.

      Parameters:
      backupPlanTags - To help organize your resources, you can assign your own metadata to the resources that you create. This parameter is required.
      Returns:
      this
    • backupPlanTags

      @Stability(Stable) public CfnBackupPlan.Builder backupPlanTags(Map<String,String> backupPlanTags)
      To help organize your resources, you can assign your own metadata to the resources that you create.

      Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.

      Parameters:
      backupPlanTags - To help organize your resources, you can assign your own metadata to the resources that you create. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnBackupPlan build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnBackupPlan>
      Returns:
      a newly built instance of CfnBackupPlan.