Class DpmBackupEngine
- 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 Summary
Constructors Constructor Description DpmBackupEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.DpmBackupEngine
withAzureBackupAgentVersion(String azureBackupAgentVersion)
Set the azureBackupAgentVersion property: Backup agent version.DpmBackupEngine
withBackupEngineId(String backupEngineId)
Set the backupEngineId property: ID of the backup engine.DpmBackupEngine
withBackupEngineState(String backupEngineState)
Set the backupEngineState property: Status of the backup engine with the Recovery Services Vault.DpmBackupEngine
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the backup engine.DpmBackupEngine
withCanReRegister(Boolean canReRegister)
Set the canReRegister property: Flag indicating if the backup engine be registered, once already registered.DpmBackupEngine
withDpmVersion(String dpmVersion)
Set the dpmVersion property: Backup engine version.DpmBackupEngine
withExtendedInfo(BackupEngineExtendedInfo extendedInfo)
Set the extendedInfo property: Extended info of the backupengine.DpmBackupEngine
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup engine.DpmBackupEngine
withHealthStatus(String healthStatus)
Set the healthStatus property: Backup status of the backup engine.DpmBackupEngine
withIsAzureBackupAgentUpgradeAvailable(Boolean isAzureBackupAgentUpgradeAvailable)
Set the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.DpmBackupEngine
withIsDpmUpgradeAvailable(Boolean isDpmUpgradeAvailable)
Set the isDpmUpgradeAvailable property: To check if backup engine upgrade available.DpmBackupEngine
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Registration status of the backup engine with the Recovery Services Vault.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBase
azureBackupAgentVersion, backupEngineId, backupEngineState, backupManagementType, canReRegister, dpmVersion, extendedInfo, friendlyName, healthStatus, isAzureBackupAgentUpgradeAvailable, isDpmUpgradeAvailable, registrationStatus
-
-
-
-
Method Detail
-
withFriendlyName
public DpmBackupEngine withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup engine.- Overrides:
withFriendlyName
in classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- 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 classBackupEngineBase
- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the BackupEngineBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classBackupEngineBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-