Class DatabaseBackupInfo

java.lang.Object
com.azure.resourcemanager.datamigration.models.DatabaseBackupInfo

public final class DatabaseBackupInfo extends Object
Information about backup files when existing backup mode is used.
  • Constructor Details

    • DatabaseBackupInfo

      public DatabaseBackupInfo()
      Creates an instance of DatabaseBackupInfo class.
  • Method Details

    • databaseName

      public String databaseName()
      Get the databaseName property: Database name.
      Returns:
      the databaseName value.
    • backupType

      public BackupType backupType()
      Get the backupType property: Backup Type.
      Returns:
      the backupType value.
    • backupFiles

      public List<String> backupFiles()
      Get the backupFiles property: The list of backup files for the current database.
      Returns:
      the backupFiles value.
    • position

      public Integer position()
      Get the position property: Position of current database backup in the file.
      Returns:
      the position value.
    • isDamaged

      public Boolean isDamaged()
      Get the isDamaged property: Database was damaged when backed up, but the backup operation was requested to continue despite errors.
      Returns:
      the isDamaged value.
    • isCompressed

      public Boolean isCompressed()
      Get the isCompressed property: Whether the backup set is compressed.
      Returns:
      the isCompressed value.
    • familyCount

      public Integer familyCount()
      Get the familyCount property: Number of files in the backup set.
      Returns:
      the familyCount value.
    • backupFinishDate

      public OffsetDateTime backupFinishDate()
      Get the backupFinishDate property: Date and time when the backup operation finished.
      Returns:
      the backupFinishDate value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.