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