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 Details

    • RestoreFileSpecs

      public RestoreFileSpecs()
      Creates an instance of RestoreFileSpecs class.
  • Method Details

    • 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.