Class SnapshotRestoreFiles


  • public final class SnapshotRestoreFiles
    extends Object
    Restore payload for Single File Snapshot Restore.
    • Constructor Detail

      • SnapshotRestoreFiles

        public SnapshotRestoreFiles()
    • 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.