Class AzureBackupRestoreRequest

java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
Direct Known Subclasses:
AzureBackupRecoveryPointBasedRestoreRequest, AzureBackupRecoveryTimeBasedRestoreRequest

public class AzureBackupRestoreRequest extends Object
AzureBackupRestoreRequest

Azure backup restore request.

  • Constructor Details

    • AzureBackupRestoreRequest

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

    • restoreTargetInfo

      public RestoreTargetInfoBase restoreTargetInfo()
      Get the restoreTargetInfo property: Gets or sets the restore target information.
      Returns:
      the restoreTargetInfo value.
    • withRestoreTargetInfo

      public AzureBackupRestoreRequest withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
      Set the restoreTargetInfo property: Gets or sets the restore target information.
      Parameters:
      restoreTargetInfo - the restoreTargetInfo value to set.
      Returns:
      the AzureBackupRestoreRequest object itself.
    • sourceDataStoreType

      public SourceDataStoreType sourceDataStoreType()
      Get the sourceDataStoreType property: Gets or sets the type of the source data store.
      Returns:
      the sourceDataStoreType value.
    • withSourceDataStoreType

      public AzureBackupRestoreRequest withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
      Set the sourceDataStoreType property: Gets or sets the type of the source data store.
      Parameters:
      sourceDataStoreType - the sourceDataStoreType value to set.
      Returns:
      the AzureBackupRestoreRequest object itself.
    • sourceResourceId

      public String sourceResourceId()
      Get the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.
      Returns:
      the sourceResourceId value.
    • withSourceResourceId

      public AzureBackupRestoreRequest withSourceResourceId(String sourceResourceId)
      Set the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.
      Parameters:
      sourceResourceId - the sourceResourceId value to set.
      Returns:
      the AzureBackupRestoreRequest object itself.
    • validate

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