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 Summary
Constructors Constructor Description AzureBackupServerEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureBackupServerEngine
withAzureBackupAgentVersion(String azureBackupAgentVersion)
Set the azureBackupAgentVersion property: Backup agent version.AzureBackupServerEngine
withBackupEngineId(String backupEngineId)
Set the backupEngineId property: ID of the backup engine.AzureBackupServerEngine
withBackupEngineState(String backupEngineState)
Set the backupEngineState property: Status of the backup engine with the Recovery Services Vault.AzureBackupServerEngine
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the backup engine.AzureBackupServerEngine
withCanReRegister(Boolean canReRegister)
Set the canReRegister property: Flag indicating if the backup engine be registered, once already registered.AzureBackupServerEngine
withDpmVersion(String dpmVersion)
Set the dpmVersion property: Backup engine version.AzureBackupServerEngine
withExtendedInfo(BackupEngineExtendedInfo extendedInfo)
Set the extendedInfo property: Extended info of the backupengine.AzureBackupServerEngine
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup engine.AzureBackupServerEngine
withHealthStatus(String healthStatus)
Set the healthStatus property: Backup status of the backup engine.AzureBackupServerEngine
withIsAzureBackupAgentUpgradeAvailable(Boolean isAzureBackupAgentUpgradeAvailable)
Set the isAzureBackupAgentUpgradeAvailable property: To check if backup agent upgrade available.AzureBackupServerEngine
withIsDpmUpgradeAvailable(Boolean isDpmUpgradeAvailable)
Set the isDpmUpgradeAvailable property: To check if backup engine upgrade available.AzureBackupServerEngine
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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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 AzureBackupServerEngine 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.
-
-