RestoreDescription Class
- java.
lang. Object - microsoft.
servicefabric. data. RestoreDescription
- microsoft.
public class RestoreDescription
A RestoreDescription contains all of the information necessary to restore a stateful service replica.
Constructor Summary
Constructor | Description |
---|---|
RestoreDescription(String backupFolderPath) |
Initializes a new instance of the RestoreDescription structure |
RestoreDescription(String backupFolderPath, RestorePolicy restorePolicy) |
Initializes a new instance of the RestoreDescription structure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getBackupFolderPath()
Gets the directory which will be used to restore the replica's state. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.
Remarks:Folder must at least contain one full backup. In addition, it could include one or more incremental backups. |
Restore |
getRestorePolicy()
Gets the restore policy. |
Constructor Details
RestoreDescription
public RestoreDescription(String backupFolderPath)
Initializes a new instance of the RestoreDescription structure
Parameters:
RestoreDescription
public RestoreDescription(String backupFolderPath, RestorePolicy restorePolicy)
Initializes a new instance of the RestoreDescription structure
Parameters:
Method Details
getBackupFolderPath
public String getBackupFolderPath()
Gets the directory which will be used to restore the replica's state. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.
Remarks:Folder must at least contain one full backup. In addition, it could include one or more incremental backups.
Returns:
getRestorePolicy
Applies to
Azure SDK for Java