Class TargetRestoreInfo


  • public final class TargetRestoreInfo
    extends Object
    Details about target workload during restore operation.
    • Constructor Detail

      • TargetRestoreInfo

        public TargetRestoreInfo()
    • Method Detail

      • overwriteOption

        public OverwriteOptions overwriteOption()
        Get the overwriteOption property: Can Overwrite if Target DataBase already exists.
        Returns:
        the overwriteOption value.
      • withOverwriteOption

        public TargetRestoreInfo withOverwriteOption​(OverwriteOptions overwriteOption)
        Set the overwriteOption property: Can Overwrite if Target DataBase already exists.
        Parameters:
        overwriteOption - the overwriteOption value to set.
        Returns:
        the TargetRestoreInfo object itself.
      • containerId

        public String containerId()
        Get the containerId property: Resource Id name of the container in which Target DataBase resides.
        Returns:
        the containerId value.
      • withContainerId

        public TargetRestoreInfo withContainerId​(String containerId)
        Set the containerId property: Resource Id name of the container in which Target DataBase resides.
        Parameters:
        containerId - the containerId value to set.
        Returns:
        the TargetRestoreInfo object itself.
      • databaseName

        public String databaseName()
        Get the databaseName property: Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana.
        Returns:
        the databaseName value.
      • withDatabaseName

        public TargetRestoreInfo withDatabaseName​(String databaseName)
        Set the databaseName property: Database name InstanceName/DataBaseName for SQL or System/DbName for SAP Hana.
        Parameters:
        databaseName - the databaseName value to set.
        Returns:
        the TargetRestoreInfo object itself.
      • targetDirectoryForFileRestore

        public String targetDirectoryForFileRestore()
        Get the targetDirectoryForFileRestore property: Target directory location for restore as files.
        Returns:
        the targetDirectoryForFileRestore value.
      • withTargetDirectoryForFileRestore

        public TargetRestoreInfo withTargetDirectoryForFileRestore​(String targetDirectoryForFileRestore)
        Set the targetDirectoryForFileRestore property: Target directory location for restore as files.
        Parameters:
        targetDirectoryForFileRestore - the targetDirectoryForFileRestore value to set.
        Returns:
        the TargetRestoreInfo object itself.
      • validate

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