Class BackupRestoreFiles

java.lang.Object
com.azure.resourcemanager.netapp.models.BackupRestoreFiles

public final class BackupRestoreFiles extends Object
Restore payload for single file backup restore.
  • Constructor Details

    • BackupRestoreFiles

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

    • fileList

      public List<String> fileList()
      Get the fileList property: List of files to be restored.
      Returns:
      the fileList value.
    • withFileList

      public BackupRestoreFiles withFileList(List<String> fileList)
      Set the fileList property: List of files to be restored.
      Parameters:
      fileList - the fileList value to set.
      Returns:
      the BackupRestoreFiles object itself.
    • restoreFilePath

      public String restoreFilePath()
      Get the restoreFilePath property: Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default.
      Returns:
      the restoreFilePath value.
    • withRestoreFilePath

      public BackupRestoreFiles withRestoreFilePath(String restoreFilePath)
      Set the restoreFilePath property: Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default.
      Parameters:
      restoreFilePath - the restoreFilePath value to set.
      Returns:
      the BackupRestoreFiles object itself.
    • destinationVolumeId

      public String destinationVolumeId()
      Get the destinationVolumeId property: Resource Id of the destination volume on which the files need to be restored.
      Returns:
      the destinationVolumeId value.
    • withDestinationVolumeId

      public BackupRestoreFiles withDestinationVolumeId(String destinationVolumeId)
      Set the destinationVolumeId property: Resource Id of the destination volume on which the files need to be restored.
      Parameters:
      destinationVolumeId - the destinationVolumeId value to set.
      Returns:
      the BackupRestoreFiles object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.