Interface LocalBackupConfiguration.Builder

  • Method Details

    • backupToLocalVaultOnly

      LocalBackupConfiguration.Builder backupToLocalVaultOnly(Boolean backupToLocalVaultOnly)

      If the value is true, Backup stores backups only in the local backup vault of the appliance and doesn't copy them to the target backup vault of the backup rule. The default is false.

      Parameters:
      backupToLocalVaultOnly - If the value is true, Backup stores backups only in the local backup vault of the appliance and doesn't copy them to the target backup vault of the backup rule. The default is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteAfterDays

      LocalBackupConfiguration.Builder deleteAfterDays(Long deleteAfterDays)

      The number of days after creation that a backup in the local backup vault is deleted. This retention period applies only to the local backup, not to its copies in other backup vaults.

      Parameters:
      deleteAfterDays - The number of days after creation that a backup in the local backup vault is deleted. This retention period applies only to the local backup, not to its copies in other backup vaults.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteAfterNextBackup

      LocalBackupConfiguration.Builder deleteAfterNextBackup(Boolean deleteAfterNextBackup)

      If the value is true, Backup deletes a backup in the local backup vault only when both of the following are true: a newer backup of the same resource exists in the same local backup vault, and the scheduled copy of the backup to the target backup vault has completed successfully. If BackupToLocalVaultOnly is true, there is no copy, so only the first condition applies. The backup is also deleted when the DeleteAfterDays retention period ends, whichever happens first.

      This setting applies only to snapshot backups. Log backups follow the DeleteAfterDays retention period.

      Parameters:
      deleteAfterNextBackup - If the value is true, Backup deletes a backup in the local backup vault only when both of the following are true: a newer backup of the same resource exists in the same local backup vault, and the scheduled copy of the backup to the target backup vault has completed successfully. If BackupToLocalVaultOnly is true, there is no copy, so only the first condition applies. The backup is also deleted when the DeleteAfterDays retention period ends, whichever happens first.

      This setting applies only to snapshot backups. Log backups follow the DeleteAfterDays retention period.

      Returns:
      Returns a reference to this object so that method calls can be chained together.