Class BackupRestoreFiles
java.lang.Object
com.azure.resourcemanager.netapp.models.BackupRestoreFiles
Restore payload for single file backup restore.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the destinationVolumeId property: Resource Id of the destination volume on which the files need to be restored.fileList()
Get the fileList property: List of files to be restored.Get the restoreFilePath property: Destination folder where the files will be restored.void
validate()
Validates the instance.withDestinationVolumeId
(String destinationVolumeId) Set the destinationVolumeId property: Resource Id of the destination volume on which the files need to be restored.withFileList
(List<String> fileList) Set the fileList property: List of files to be restored.withRestoreFilePath
(String restoreFilePath) Set the restoreFilePath property: Destination folder where the files will be restored.
-
Constructor Details
-
BackupRestoreFiles
public BackupRestoreFiles()Creates an instance of BackupRestoreFiles class.
-
-
Method Details
-
fileList
Get the fileList property: List of files to be restored.- Returns:
- the fileList value.
-
withFileList
Set the fileList property: List of files to be restored.- Parameters:
fileList
- the fileList value to set.- Returns:
- the BackupRestoreFiles object itself.
-
restoreFilePath
Get the restoreFilePath property: Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default.- Returns:
- the restoreFilePath value.
-
withRestoreFilePath
Set the restoreFilePath property: Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default.- Parameters:
restoreFilePath
- the restoreFilePath value to set.- Returns:
- the BackupRestoreFiles object itself.
-
destinationVolumeId
Get the destinationVolumeId property: Resource Id of the destination volume on which the files need to be restored.- Returns:
- the destinationVolumeId value.
-
withDestinationVolumeId
Set the destinationVolumeId property: Resource Id of the destination volume on which the files need to be restored.- Parameters:
destinationVolumeId
- the destinationVolumeId value to set.- Returns:
- the BackupRestoreFiles object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-