Class BackupFileInfo

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

public final class BackupFileInfo extends Object
Information of the backup file.
  • Constructor Details

    • BackupFileInfo

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

    • fileLocation

      public String fileLocation()
      Get the fileLocation property: Location of the backup file in shared folder.
      Returns:
      the fileLocation value.
    • withFileLocation

      public BackupFileInfo withFileLocation(String fileLocation)
      Set the fileLocation property: Location of the backup file in shared folder.
      Parameters:
      fileLocation - the fileLocation value to set.
      Returns:
      the BackupFileInfo object itself.
    • familySequenceNumber

      public Integer familySequenceNumber()
      Get the familySequenceNumber property: Sequence number of the backup file in the backup set.
      Returns:
      the familySequenceNumber value.
    • withFamilySequenceNumber

      public BackupFileInfo withFamilySequenceNumber(Integer familySequenceNumber)
      Set the familySequenceNumber property: Sequence number of the backup file in the backup set.
      Parameters:
      familySequenceNumber - the familySequenceNumber value to set.
      Returns:
      the BackupFileInfo object itself.
    • status

      public BackupFileStatus status()
      Get the status property: Status of the backup file during migration.
      Returns:
      the status value.
    • withStatus

      public BackupFileInfo withStatus(BackupFileStatus status)
      Set the status property: Status of the backup file during migration.
      Parameters:
      status - the status value to set.
      Returns:
      the BackupFileInfo object itself.
    • validate

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