Class AzureBackupServerEngine

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

public final class AzureBackupServerEngine extends BackupEngineBase
Backup engine type when Azure Backup Server is used to manage the backups.
  • Constructor Details

    • AzureBackupServerEngine

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

    • withFriendlyName

      public AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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.