Class GkeBackupBackupPlan.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static GkeBackupBackupPlan.Builder create​(software.constructs.Construct scope,
                                                         String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of GkeBackupBackupPlan.Builder.
      • connection

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public GkeBackupBackupPlan.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • cluster

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder cluster​(String cluster)
        The source cluster from which Backups will be created via this BackupPlan.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#cluster GkeBackupBackupPlan#cluster}

        Parameters:
        cluster - The source cluster from which Backups will be created via this BackupPlan. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder location​(String location)
        The region of the Backup Plan.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#location GkeBackupBackupPlan#location}

        Parameters:
        location - The region of the Backup Plan. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder name​(String name)
        The full name of the BackupPlan Resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#name GkeBackupBackupPlan#name}

        Parameters:
        name - The full name of the BackupPlan Resource. This parameter is required.
        Returns:
        this
      • backupConfig

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder backupConfig​(GkeBackupBackupPlanBackupConfig backupConfig)
        backup_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#backup_config GkeBackupBackupPlan#backup_config}

        Parameters:
        backupConfig - backup_config block. This parameter is required.
        Returns:
        this
      • backupSchedule

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder backupSchedule​(GkeBackupBackupPlanBackupSchedule backupSchedule)
        backup_schedule block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#backup_schedule GkeBackupBackupPlan#backup_schedule}

        Parameters:
        backupSchedule - backup_schedule block. This parameter is required.
        Returns:
        this
      • deactivated

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder deactivated​(Boolean deactivated)
        This flag indicates whether this BackupPlan has been deactivated.

        Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#deactivated GkeBackupBackupPlan#deactivated}

        Parameters:
        deactivated - This flag indicates whether this BackupPlan has been deactivated. This parameter is required.
        Returns:
        this
      • deactivated

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder deactivated​(com.hashicorp.cdktf.IResolvable deactivated)
        This flag indicates whether this BackupPlan has been deactivated.

        Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#deactivated GkeBackupBackupPlan#deactivated}

        Parameters:
        deactivated - This flag indicates whether this BackupPlan has been deactivated. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder description​(String description)
        User specified descriptive string for this BackupPlan.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#description GkeBackupBackupPlan#description}

        Parameters:
        description - User specified descriptive string for this BackupPlan. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#id GkeBackupBackupPlan#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#id GkeBackupBackupPlan#id}. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder labels​(Map<String,​String> labels)
        Description: A set of custom labels supplied by the user.

        A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#labels GkeBackupBackupPlan#labels}

        Parameters:
        labels - Description: A set of custom labels supplied by the user. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#project GkeBackupBackupPlan#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#project GkeBackupBackupPlan#project}. This parameter is required.
        Returns:
        this
      • retentionPolicy

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder retentionPolicy​(GkeBackupBackupPlanRetentionPolicy retentionPolicy)
        retention_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#retention_policy GkeBackupBackupPlan#retention_policy}

        Parameters:
        retentionPolicy - retention_policy block. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public GkeBackupBackupPlan.Builder timeouts​(GkeBackupBackupPlanTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#timeouts GkeBackupBackupPlan#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this