Class BackupEngineBase
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBase
- Direct Known Subclasses:
AzureBackupServerEngine
,DpmBackupEngine
The base backup engine class. All workload specific backup engines derive from this class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureBackupAgentVersion property: Backup agent version.Get the backupEngineId property: ID of the backup engine.Get the backupEngineState property: Status of the backup engine with the Recovery Services Vault.Get the backupManagementType property: Type of backup management for the backup engine.Get the canReRegister property: Flag indicating if the backup engine be registered, once already registered.Get the dpmVersion property: Backup engine version.Get the extendedInfo property: Extended info of the backupengine.Get the friendlyName property: Friendly name of the backup engine.Get the healthStatus property: Backup status of the backup engine.Get the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.Get the isDpmUpgradeAvailable property: To check if backup engine upgrade available.Get the registrationStatus property: Registration status of the backup engine with the Recovery Services Vault.void
validate()
Validates the instance.withAzureBackupAgentVersion
(String azureBackupAgentVersion) Set the azureBackupAgentVersion property: Backup agent version.withBackupEngineId
(String backupEngineId) Set the backupEngineId property: ID of the backup engine.withBackupEngineState
(String backupEngineState) Set the backupEngineState property: Status of the backup engine with the Recovery Services Vault.withBackupManagementType
(BackupManagementType backupManagementType) Set the backupManagementType property: Type of backup management for the backup engine.withCanReRegister
(Boolean canReRegister) Set the canReRegister property: Flag indicating if the backup engine be registered, once already registered.withDpmVersion
(String dpmVersion) Set the dpmVersion property: Backup engine version.withExtendedInfo
(BackupEngineExtendedInfo extendedInfo) Set the extendedInfo property: Extended info of the backupengine.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of the backup engine.withHealthStatus
(String healthStatus) Set the healthStatus property: Backup status of the backup engine.withIsAzureBackupAgentUpgradeAvailable
(Boolean isAzureBackupAgentUpgradeAvailable) Set the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.withIsDpmUpgradeAvailable
(Boolean isDpmUpgradeAvailable) Set the isDpmUpgradeAvailable property: To check if backup engine upgrade available.withRegistrationStatus
(String registrationStatus) Set the registrationStatus property: Registration status of the backup engine with the Recovery Services Vault.
-
Constructor Details
-
BackupEngineBase
public BackupEngineBase()Creates an instance of BackupEngineBase class.
-
-
Method Details
-
friendlyName
Get the friendlyName property: Friendly name of the backup engine.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of the backup engine.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the BackupEngineBase object itself.
-
backupManagementType
Get the backupManagementType property: Type of backup management for the backup engine.- Returns:
- the backupManagementType value.
-
withBackupManagementType
Set the backupManagementType property: Type of backup management for the backup engine.- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the BackupEngineBase object itself.
-
registrationStatus
Get the registrationStatus property: Registration status of the backup engine with the Recovery Services Vault.- Returns:
- the registrationStatus value.
-
withRegistrationStatus
Set the registrationStatus property: Registration status of the backup engine with the Recovery Services Vault.- Parameters:
registrationStatus
- the registrationStatus value to set.- Returns:
- the BackupEngineBase object itself.
-
backupEngineState
Get the backupEngineState property: Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}.- Returns:
- the backupEngineState value.
-
withBackupEngineState
Set the backupEngineState property: Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}.- Parameters:
backupEngineState
- the backupEngineState value to set.- Returns:
- the BackupEngineBase object itself.
-
healthStatus
Get the healthStatus property: Backup status of the backup engine.- Returns:
- the healthStatus value.
-
withHealthStatus
Set the healthStatus property: Backup status of the backup engine.- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the BackupEngineBase object itself.
-
canReRegister
Get the canReRegister property: Flag indicating if the backup engine be registered, once already registered.- Returns:
- the canReRegister value.
-
withCanReRegister
Set the canReRegister property: Flag indicating if the backup engine be registered, once already registered.- Parameters:
canReRegister
- the canReRegister value to set.- Returns:
- the BackupEngineBase object itself.
-
backupEngineId
Get the backupEngineId property: ID of the backup engine.- Returns:
- the backupEngineId value.
-
withBackupEngineId
Set the backupEngineId property: ID of the backup engine.- Parameters:
backupEngineId
- the backupEngineId value to set.- Returns:
- the BackupEngineBase object itself.
-
dpmVersion
Get the dpmVersion property: Backup engine version.- Returns:
- the dpmVersion value.
-
withDpmVersion
Set the dpmVersion property: Backup engine version.- Parameters:
dpmVersion
- the dpmVersion value to set.- Returns:
- the BackupEngineBase object itself.
-
azureBackupAgentVersion
Get the azureBackupAgentVersion property: Backup agent version.- Returns:
- the azureBackupAgentVersion value.
-
withAzureBackupAgentVersion
Set the azureBackupAgentVersion property: Backup agent version.- Parameters:
azureBackupAgentVersion
- the azureBackupAgentVersion value to set.- Returns:
- the BackupEngineBase object itself.
-
isAzureBackupAgentUpgradeAvailable
Get the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.- Returns:
- the isAzureBackupAgentUpgradeAvailable value.
-
withIsAzureBackupAgentUpgradeAvailable
public BackupEngineBase withIsAzureBackupAgentUpgradeAvailable(Boolean isAzureBackupAgentUpgradeAvailable) Set the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.- Parameters:
isAzureBackupAgentUpgradeAvailable
- the isAzureBackupAgentUpgradeAvailable value to set.- Returns:
- the BackupEngineBase object itself.
-
isDpmUpgradeAvailable
Get the isDpmUpgradeAvailable property: To check if backup engine upgrade available.- Returns:
- the isDpmUpgradeAvailable value.
-
withIsDpmUpgradeAvailable
Set the isDpmUpgradeAvailable property: To check if backup engine upgrade available.- Parameters:
isDpmUpgradeAvailable
- the isDpmUpgradeAvailable value to set.- Returns:
- the BackupEngineBase object itself.
-
extendedInfo
Get the extendedInfo property: Extended info of the backupengine.- Returns:
- the extendedInfo value.
-
withExtendedInfo
Set the extendedInfo property: Extended info of the backupengine.- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the BackupEngineBase object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-