Class NetappVolumeBackupConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • backupPolicies

        @Stability(Stable)
        public NetappVolumeBackupConfig.Builder backupPolicies​(List<String> backupPolicies)
        Parameters:
        backupPolicies - Specify a single backup policy ID for scheduled backups. Format: 'projects/{{projectId}}/locations/{{location}}/backupPolicies/{{backupPolicyName}}'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#backup_policies NetappVolume#backup_policies}
        Returns:
        this
      • backupVault

        @Stability(Stable)
        public NetappVolumeBackupConfig.Builder backupVault​(String backupVault)
        Parameters:
        backupVault - ID of the backup vault to use. A backup vault is reqired to create manual or scheduled backups. Format: 'projects/{{projectId}}/locations/{{location}}/backupVaults/{{backupVaultName}}'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#backup_vault NetappVolume#backup_vault}
        Returns:
        this
      • scheduledBackupEnabled

        @Stability(Stable)
        public NetappVolumeBackupConfig.Builder scheduledBackupEnabled​(Boolean scheduledBackupEnabled)
        Parameters:
        scheduledBackupEnabled - When set to true, scheduled backup is enabled on the volume. Omit if no backup_policy is specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#scheduled_backup_enabled NetappVolume#scheduled_backup_enabled}
        Returns:
        this
      • scheduledBackupEnabled

        @Stability(Stable)
        public NetappVolumeBackupConfig.Builder scheduledBackupEnabled​(com.hashicorp.cdktf.IResolvable scheduledBackupEnabled)
        Parameters:
        scheduledBackupEnabled - When set to true, scheduled backup is enabled on the volume. Omit if no backup_policy is specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#scheduled_backup_enabled NetappVolume#scheduled_backup_enabled}
        Returns:
        this