Class SnapshotRestoreFiles
java.lang.Object
com.azure.resourcemanager.netapp.models.SnapshotRestoreFiles
Restore payload for Single File Snapshot Restore.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the destinationPath property: Destination folder where the files will be restored.Get the filePaths property: List of files to be restored.void
validate()
Validates the instance.withDestinationPath
(String destinationPath) Set the destinationPath property: Destination folder where the files will be restored.withFilePaths
(List<String> filePaths) Set the filePaths property: List of files to be restored.
-
Constructor Details
-
SnapshotRestoreFiles
public SnapshotRestoreFiles()
-
-
Method Details
-
filePaths
Get the filePaths property: List of files to be restored.- Returns:
- the filePaths value.
-
withFilePaths
Set the filePaths property: List of files to be restored.- Parameters:
filePaths
- the filePaths value to set.- Returns:
- the SnapshotRestoreFiles object itself.
-
destinationPath
Get the destinationPath property: Destination folder where the files will be restored.- Returns:
- the destinationPath value.
-
withDestinationPath
Set the destinationPath property: Destination folder where the files will be restored.- Parameters:
destinationPath
- the destinationPath value to set.- Returns:
- the SnapshotRestoreFiles object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-