Class RestoreFilesTargetInfo

java.lang.Object
com.azure.resourcemanager.dataprotection.models.RestoreTargetInfoBase
com.azure.resourcemanager.dataprotection.models.RestoreFilesTargetInfo

public final class RestoreFilesTargetInfo extends RestoreTargetInfoBase
Class encapsulating restore as files target parameters.
  • Constructor Details

    • RestoreFilesTargetInfo

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

    • targetDetails

      public TargetDetails targetDetails()
      Get the targetDetails property: Destination of RestoreAsFiles operation, when destination is not a datasource.
      Returns:
      the targetDetails value.
    • withTargetDetails

      public RestoreFilesTargetInfo withTargetDetails(TargetDetails targetDetails)
      Set the targetDetails property: Destination of RestoreAsFiles operation, when destination is not a datasource.
      Parameters:
      targetDetails - the targetDetails value to set.
      Returns:
      the RestoreFilesTargetInfo object itself.
    • withRecoveryOption

      public RestoreFilesTargetInfo withRecoveryOption(RecoveryOption recoveryOption)
      Set the recoveryOption property: Recovery Option.
      Overrides:
      withRecoveryOption in class RestoreTargetInfoBase
      Parameters:
      recoveryOption - the recoveryOption value to set.
      Returns:
      the RestoreTargetInfoBase object itself.
    • withRestoreLocation

      public RestoreFilesTargetInfo withRestoreLocation(String restoreLocation)
      Set the restoreLocation property: Target Restore region.
      Overrides:
      withRestoreLocation in class RestoreTargetInfoBase
      Parameters:
      restoreLocation - the restoreLocation value to set.
      Returns:
      the RestoreTargetInfoBase object itself.
    • validate

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