BackupInfo Class
- java.
lang. Object - microsoft.
servicefabric. data. BackupInfo
- microsoft.
public class BackupInfo
Provides info about the backup.
Constructor Summary
Constructor | Description |
---|---|
BackupInfo(String directory, BackupOption option, BackupVersion version) |
Initializes new instance of BackupInfo class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getDirectory()
Gets the directory where the backup was created. |
Backup |
getOption()
Gets the backup option used. |
Backup |
getVersion()
Gets the latest epoch included in the backup. |
Constructor Details
BackupInfo
public BackupInfo(String directory, BackupOption option, BackupVersion version)
Initializes new instance of BackupInfo class.
Parameters:
BackupOption that was used to take the backup.
BackupVersion of the backup.
Method Details
getDirectory
public String getDirectory()
Gets the directory where the backup was created.
Returns:
getOption
public BackupOption getOption()
Gets the backup option used.
Returns:
getVersion
public BackupVersion getVersion()
Gets the latest epoch included in the backup.
Returns:
Applies to
Azure SDK for Java