Class SnapshotRestoreFiles
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.SnapshotRestoreFiles
-
public final class SnapshotRestoreFiles extends Object
Restore payload for Single File Snapshot Restore.
-
-
Constructor Summary
Constructors Constructor Description SnapshotRestoreFiles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
destinationPath()
Get the destinationPath property: Destination folder where the files will be restored.List<String>
filePaths()
Get the filePaths property: List of files to be restored.void
validate()
Validates the instance.SnapshotRestoreFiles
withDestinationPath(String destinationPath)
Set the destinationPath property: Destination folder where the files will be restored.SnapshotRestoreFiles
withFilePaths(List<String> filePaths)
Set the filePaths property: List of files to be restored.
-
-
-
Method Detail
-
filePaths
public List<String> filePaths()
Get the filePaths property: List of files to be restored.- Returns:
- the filePaths value.
-
withFilePaths
public SnapshotRestoreFiles withFilePaths(List<String> filePaths)
Set the filePaths property: List of files to be restored.- Parameters:
filePaths
- the filePaths value to set.- Returns:
- the SnapshotRestoreFiles object itself.
-
destinationPath
public String destinationPath()
Get the destinationPath property: Destination folder where the files will be restored.- Returns:
- the destinationPath value.
-
withDestinationPath
public SnapshotRestoreFiles withDestinationPath(String destinationPath)
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.
-
-