Class RestoreFileSpecs
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RestoreFileSpecs
-
public final class RestoreFileSpecs extends Object
Restore file specs like file path, type and target folder path info.
-
-
Constructor Summary
Constructors Constructor Description RestoreFileSpecs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fileSpecType()
Get the fileSpecType property: Indicates what the Path variable stands for.String
path()
Get the path property: Source File/Folder path.String
targetFolderPath()
Get the targetFolderPath property: Destination folder path in target FileShare.void
validate()
Validates the instance.RestoreFileSpecs
withFileSpecType(String fileSpecType)
Set the fileSpecType property: Indicates what the Path variable stands for.RestoreFileSpecs
withPath(String path)
Set the path property: Source File/Folder path.RestoreFileSpecs
withTargetFolderPath(String targetFolderPath)
Set the targetFolderPath property: Destination folder path in target FileShare.
-
-
-
Method Detail
-
path
public String path()
Get the path property: Source File/Folder path.- Returns:
- the path value.
-
withPath
public RestoreFileSpecs withPath(String path)
Set the path property: Source File/Folder path.- Parameters:
path
- the path value to set.- Returns:
- the RestoreFileSpecs object itself.
-
fileSpecType
public String fileSpecType()
Get the fileSpecType property: Indicates what the Path variable stands for.- Returns:
- the fileSpecType value.
-
withFileSpecType
public RestoreFileSpecs withFileSpecType(String fileSpecType)
Set the fileSpecType property: Indicates what the Path variable stands for.- Parameters:
fileSpecType
- the fileSpecType value to set.- Returns:
- the RestoreFileSpecs object itself.
-
targetFolderPath
public String targetFolderPath()
Get the targetFolderPath property: Destination folder path in target FileShare.- Returns:
- the targetFolderPath value.
-
withTargetFolderPath
public RestoreFileSpecs withTargetFolderPath(String targetFolderPath)
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.
-
-