SqlBackupFileInfo Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. SqlBackupFileInfo
- com.
Implements
public final class SqlBackupFileInfo
implements JsonSerializable<SqlBackupFileInfo>
Information of backup file.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlBackupFileInfo() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
copyDuration()
Get the copy |
| Double |
copyThroughput()
Get the copy |
| Long |
dataRead()
Get the data |
| Long |
dataWritten()
Get the data |
| Integer |
familySequenceNumber()
Get the family |
| String |
fileName()
Get the file |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
status()
Get the status property: Status of the file. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
totalSize()
Get the total |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
SqlBackupFileInfo
public SqlBackupFileInfo()
Creates an instance of SqlBackupFileInfo class.
Method Details
copyDuration
public Integer copyDuration()
Get the copyDuration property: Copy Duration in seconds.
Returns:
copyThroughput
public Double copyThroughput()
Get the copyThroughput property: Copy throughput in KBps.
Returns:
dataRead
public Long dataRead()
Get the dataRead property: Bytes read.
Returns:
dataWritten
public Long dataWritten()
Get the dataWritten property: Bytes written.
Returns:
familySequenceNumber
public Integer familySequenceNumber()
Get the familySequenceNumber property: Media family sequence number.
Returns:
fileName
public String fileName()
Get the fileName property: File name.
Returns:
fromJson
public static SqlBackupFileInfo fromJson(JsonReader jsonReader)
Reads an instance of SqlBackupFileInfo from the JsonReader.
Parameters:
Returns:
Throws:
status
public String status()
Get the status property: Status of the file. (Initial, Uploading, Uploaded, Restoring, Restored or Skipped).
Returns:
toJson
totalSize
public Long totalSize()
Get the totalSize property: File size in bytes.
Returns:
validate
public void validate()
Validates the instance.