Class BackupSetInfo
java.lang.Object
com.azure.resourcemanager.datamigration.models.BackupSetInfo
Information of backup set.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupFinishedDate property: Date and time that the backup operation finished.Get the backupSetId property: Id for the set of backup files.Get the backupStartDate property: Date and time that the backup operation began.Get the backupType property: Enum of the different backup types.Get the databaseName property: Name of the database to which the backup set belongs.firstLsn()
Get the firstLsn property: First log sequence number of the backup file.Get the isBackupRestored property: Whether the backup set is restored or not.lastLsn()
Get the lastLsn property: Last log sequence number of the backup file.Get the lastModifiedTime property: Last modified time of the backup file in share location.Get the listOfBackupFiles property: List of files in the backup set.void
validate()
Validates the instance.withBackupFinishedDate
(OffsetDateTime backupFinishedDate) Set the backupFinishedDate property: Date and time that the backup operation finished.withBackupSetId
(String backupSetId) Set the backupSetId property: Id for the set of backup files.withBackupStartDate
(OffsetDateTime backupStartDate) Set the backupStartDate property: Date and time that the backup operation began.withBackupType
(BackupType backupType) Set the backupType property: Enum of the different backup types.withDatabaseName
(String databaseName) Set the databaseName property: Name of the database to which the backup set belongs.withFirstLsn
(String firstLsn) Set the firstLsn property: First log sequence number of the backup file.withIsBackupRestored
(Boolean isBackupRestored) Set the isBackupRestored property: Whether the backup set is restored or not.withLastLsn
(String lastLsn) Set the lastLsn property: Last log sequence number of the backup file.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Last modified time of the backup file in share location.withListOfBackupFiles
(List<BackupFileInfo> listOfBackupFiles) Set the listOfBackupFiles property: List of files in the backup set.
-
Constructor Details
-
BackupSetInfo
public BackupSetInfo()Creates an instance of BackupSetInfo class.
-
-
Method Details
-
backupSetId
Get the backupSetId property: Id for the set of backup files.- Returns:
- the backupSetId value.
-
withBackupSetId
Set the backupSetId property: Id for the set of backup files.- Parameters:
backupSetId
- the backupSetId value to set.- Returns:
- the BackupSetInfo object itself.
-
firstLsn
Get the firstLsn property: First log sequence number of the backup file.- Returns:
- the firstLsn value.
-
withFirstLsn
Set the firstLsn property: First log sequence number of the backup file.- Parameters:
firstLsn
- the firstLsn value to set.- Returns:
- the BackupSetInfo object itself.
-
lastLsn
Get the lastLsn property: Last log sequence number of the backup file.- Returns:
- the lastLsn value.
-
withLastLsn
Set the lastLsn property: Last log sequence number of the backup file.- Parameters:
lastLsn
- the lastLsn value to set.- Returns:
- the BackupSetInfo object itself.
-
lastModifiedTime
Get the lastModifiedTime property: Last modified time of the backup file in share location.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Last modified time of the backup file in share location.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the BackupSetInfo object itself.
-
backupType
Get the backupType property: Enum of the different backup types.- Returns:
- the backupType value.
-
withBackupType
Set the backupType property: Enum of the different backup types.- Parameters:
backupType
- the backupType value to set.- Returns:
- the BackupSetInfo object itself.
-
listOfBackupFiles
Get the listOfBackupFiles property: List of files in the backup set.- Returns:
- the listOfBackupFiles value.
-
withListOfBackupFiles
Set the listOfBackupFiles property: List of files in the backup set.- Parameters:
listOfBackupFiles
- the listOfBackupFiles value to set.- Returns:
- the BackupSetInfo object itself.
-
databaseName
Get the databaseName property: Name of the database to which the backup set belongs.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: Name of the database to which the backup set belongs.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the BackupSetInfo object itself.
-
backupStartDate
Get the backupStartDate property: Date and time that the backup operation began.- Returns:
- the backupStartDate value.
-
withBackupStartDate
Set the backupStartDate property: Date and time that the backup operation began.- Parameters:
backupStartDate
- the backupStartDate value to set.- Returns:
- the BackupSetInfo object itself.
-
backupFinishedDate
Get the backupFinishedDate property: Date and time that the backup operation finished.- Returns:
- the backupFinishedDate value.
-
withBackupFinishedDate
Set the backupFinishedDate property: Date and time that the backup operation finished.- Parameters:
backupFinishedDate
- the backupFinishedDate value to set.- Returns:
- the BackupSetInfo object itself.
-
isBackupRestored
Get the isBackupRestored property: Whether the backup set is restored or not.- Returns:
- the isBackupRestored value.
-
withIsBackupRestored
Set the isBackupRestored property: Whether the backup set is restored or not.- Parameters:
isBackupRestored
- the isBackupRestored value to set.- Returns:
- the BackupSetInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-