Share via


SqlBackupSetInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.SqlBackupSetInfo

Implements

public final class SqlBackupSetInfo
implements JsonSerializable<SqlBackupSetInfo>

Information of backup set.

Constructor Summary

Constructor Description
SqlBackupSetInfo()

Creates an instance of SqlBackupSetInfo class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime backupFinishDate()

Get the backupFinishDate property: Backup end time.

UUID backupSetId()

Get the backupSetId property: Backup set id.

OffsetDateTime backupStartDate()

Get the backupStartDate property: Backup start date.

String backupType()

Get the backupType property: Backup type.

Integer familyCount()

Get the familyCount property: Media family count.

String firstLsn()

Get the firstLsn property: First LSN of the backup set.

static SqlBackupSetInfo fromJson(JsonReader jsonReader)

Reads an instance of SqlBackupSetInfo from the JsonReader.

Boolean hasBackupChecksums()

Get the hasBackupChecksums property: Has Backup Checksums.

List<String> ignoreReasons()

Get the ignoreReasons property: The reasons why the backup set is ignored.

Boolean isBackupRestored()

Get the isBackupRestored property: Whether this backup set has been restored or not.

String lastLsn()

Get the lastLsn property: Last LSN of the backup set.

List<SqlBackupFileInfo> listOfBackupFiles()

Get the listOfBackupFiles property: List of files in the backup set.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SqlBackupSetInfo

public SqlBackupSetInfo()

Creates an instance of SqlBackupSetInfo class.

Method Details

backupFinishDate

public OffsetDateTime backupFinishDate()

Get the backupFinishDate property: Backup end time.

Returns:

the backupFinishDate value.

backupSetId

public UUID backupSetId()

Get the backupSetId property: Backup set id.

Returns:

the backupSetId value.

backupStartDate

public OffsetDateTime backupStartDate()

Get the backupStartDate property: Backup start date.

Returns:

the backupStartDate value.

backupType

public String backupType()

Get the backupType property: Backup type.

Returns:

the backupType value.

familyCount

public Integer familyCount()

Get the familyCount property: Media family count.

Returns:

the familyCount value.

firstLsn

public String firstLsn()

Get the firstLsn property: First LSN of the backup set.

Returns:

the firstLsn value.

fromJson

public static SqlBackupSetInfo fromJson(JsonReader jsonReader)

Reads an instance of SqlBackupSetInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlBackupSetInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlBackupSetInfo.

hasBackupChecksums

public Boolean hasBackupChecksums()

Get the hasBackupChecksums property: Has Backup Checksums.

Returns:

the hasBackupChecksums value.

ignoreReasons

public List<String> ignoreReasons()

Get the ignoreReasons property: The reasons why the backup set is ignored.

Returns:

the ignoreReasons value.

isBackupRestored

public Boolean isBackupRestored()

Get the isBackupRestored property: Whether this backup set has been restored or not.

Returns:

the isBackupRestored value.

lastLsn

public String lastLsn()

Get the lastLsn property: Last LSN of the backup set.

Returns:

the lastLsn value.

listOfBackupFiles

public List<SqlBackupFileInfo> listOfBackupFiles()

Get the listOfBackupFiles property: List of files in the backup set.

Returns:

the listOfBackupFiles value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to