java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBase
com.azure.resourcemanager.recoveryservicesbackup.models.DpmBackupEngine

public final class DpmBackupEngine extends BackupEngineBase
Data Protection Manager (DPM) specific backup engine.
  • Constructor Details

    • DpmBackupEngine

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

    • withFriendlyName

      public DpmBackupEngine withFriendlyName(String friendlyName)
      Set the friendlyName property: Friendly name of the backup engine.
      Overrides:
      withFriendlyName in class BackupEngineBase
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the BackupEngineBase object itself.
    • withBackupManagementType

      public DpmBackupEngine withBackupManagementType(BackupManagementType backupManagementType)
      Set the backupManagementType property: Type of backup management for the backup engine.
      Overrides:
      withBackupManagementType in class BackupEngineBase
      Parameters:
      backupManagementType - the backupManagementType value to set.
      Returns:
      the BackupEngineBase object itself.
    • withRegistrationStatus

      public DpmBackupEngine withRegistrationStatus(String registrationStatus)
      Set the registrationStatus property: Registration status of the backup engine with the Recovery Services Vault.
      Overrides:
      withRegistrationStatus in class BackupEngineBase
      Parameters:
      registrationStatus - the registrationStatus value to set.
      Returns:
      the BackupEngineBase object itself.
    • withBackupEngineState

      public DpmBackupEngine withBackupEngineState(String backupEngineState)
      Set the backupEngineState property: Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}.
      Overrides:
      withBackupEngineState in class BackupEngineBase
      Parameters:
      backupEngineState - the backupEngineState value to set.
      Returns:
      the BackupEngineBase object itself.
    • withHealthStatus

      public DpmBackupEngine withHealthStatus(String healthStatus)
      Set the healthStatus property: Backup status of the backup engine.
      Overrides:
      withHealthStatus in class BackupEngineBase
      Parameters:
      healthStatus - the healthStatus value to set.
      Returns:
      the BackupEngineBase object itself.
    • withCanReRegister

      public DpmBackupEngine withCanReRegister(Boolean canReRegister)
      Set the canReRegister property: Flag indicating if the backup engine be registered, once already registered.
      Overrides:
      withCanReRegister in class BackupEngineBase
      Parameters:
      canReRegister - the canReRegister value to set.
      Returns:
      the BackupEngineBase object itself.
    • withBackupEngineId

      public DpmBackupEngine withBackupEngineId(String backupEngineId)
      Set the backupEngineId property: ID of the backup engine.
      Overrides:
      withBackupEngineId in class BackupEngineBase
      Parameters:
      backupEngineId - the backupEngineId value to set.
      Returns:
      the BackupEngineBase object itself.
    • withDpmVersion

      public DpmBackupEngine withDpmVersion(String dpmVersion)
      Set the dpmVersion property: Backup engine version.
      Overrides:
      withDpmVersion in class BackupEngineBase
      Parameters:
      dpmVersion - the dpmVersion value to set.
      Returns:
      the BackupEngineBase object itself.
    • withAzureBackupAgentVersion

      public DpmBackupEngine withAzureBackupAgentVersion(String azureBackupAgentVersion)
      Set the azureBackupAgentVersion property: Backup agent version.
      Overrides:
      withAzureBackupAgentVersion in class BackupEngineBase
      Parameters:
      azureBackupAgentVersion - the azureBackupAgentVersion value to set.
      Returns:
      the BackupEngineBase object itself.
    • withIsAzureBackupAgentUpgradeAvailable

      public DpmBackupEngine withIsAzureBackupAgentUpgradeAvailable(Boolean isAzureBackupAgentUpgradeAvailable)
      Set the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.
      Overrides:
      withIsAzureBackupAgentUpgradeAvailable in class BackupEngineBase
      Parameters:
      isAzureBackupAgentUpgradeAvailable - the isAzureBackupAgentUpgradeAvailable value to set.
      Returns:
      the BackupEngineBase object itself.
    • withIsDpmUpgradeAvailable

      public DpmBackupEngine withIsDpmUpgradeAvailable(Boolean isDpmUpgradeAvailable)
      Set the isDpmUpgradeAvailable property: To check if backup engine upgrade available.
      Overrides:
      withIsDpmUpgradeAvailable in class BackupEngineBase
      Parameters:
      isDpmUpgradeAvailable - the isDpmUpgradeAvailable value to set.
      Returns:
      the BackupEngineBase object itself.
    • withExtendedInfo

      public DpmBackupEngine withExtendedInfo(BackupEngineExtendedInfo extendedInfo)
      Set the extendedInfo property: Extended info of the backupengine.
      Overrides:
      withExtendedInfo in class BackupEngineBase
      Parameters:
      extendedInfo - the extendedInfo value to set.
      Returns:
      the BackupEngineBase object itself.
    • validate

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