Class RestoreFileSpecs
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RestoreFileSpecs
Restore file specs like file path, type and target folder path info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the fileSpecType property: Indicates what the Path variable stands for.path()
Get the path property: Source File/Folder path.Get the targetFolderPath property: Destination folder path in target FileShare.void
validate()
Validates the instance.withFileSpecType
(String fileSpecType) Set the fileSpecType property: Indicates what the Path variable stands for.Set the path property: Source File/Folder path.withTargetFolderPath
(String targetFolderPath) Set the targetFolderPath property: Destination folder path in target FileShare.
-
Constructor Details
-
RestoreFileSpecs
public RestoreFileSpecs()Creates an instance of RestoreFileSpecs class.
-
-
Method Details
-
path
Get the path property: Source File/Folder path.- Returns:
- the path value.
-
withPath
Set the path property: Source File/Folder path.- Parameters:
path
- the path value to set.- Returns:
- the RestoreFileSpecs object itself.
-
fileSpecType
Get the fileSpecType property: Indicates what the Path variable stands for.- Returns:
- the fileSpecType value.
-
withFileSpecType
Set the fileSpecType property: Indicates what the Path variable stands for.- Parameters:
fileSpecType
- the fileSpecType value to set.- Returns:
- the RestoreFileSpecs object itself.
-
targetFolderPath
Get the targetFolderPath property: Destination folder path in target FileShare.- Returns:
- the targetFolderPath value.
-
withTargetFolderPath
Set the targetFolderPath property: Destination folder path in target FileShare.- Parameters:
targetFolderPath
- the targetFolderPath value to set.- Returns:
- the RestoreFileSpecs object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-