Class BackupFileInfo
java.lang.Object
com.azure.resourcemanager.datamigration.models.BackupFileInfo
Information of the backup file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the familySequenceNumber property: Sequence number of the backup file in the backup set.Get the fileLocation property: Location of the backup file in shared folder.status()
Get the status property: Status of the backup file during migration.void
validate()
Validates the instance.withFamilySequenceNumber
(Integer familySequenceNumber) Set the familySequenceNumber property: Sequence number of the backup file in the backup set.withFileLocation
(String fileLocation) Set the fileLocation property: Location of the backup file in shared folder.withStatus
(BackupFileStatus status) Set the status property: Status of the backup file during migration.
-
Constructor Details
-
BackupFileInfo
public BackupFileInfo()Creates an instance of BackupFileInfo class.
-
-
Method Details
-
fileLocation
Get the fileLocation property: Location of the backup file in shared folder.- Returns:
- the fileLocation value.
-
withFileLocation
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
Get the familySequenceNumber property: Sequence number of the backup file in the backup set.- Returns:
- the familySequenceNumber value.
-
withFamilySequenceNumber
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
Get the status property: Status of the backup file during migration.- Returns:
- the status value.
-
withStatus
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.
-