Class AzureBackupServerEngine
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBase
com.azure.resourcemanager.recoveryservicesbackup.models.AzureBackupServerEngine
Backup engine type when Azure Backup Server is used to manage the backups.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupServerEngine class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBase
azureBackupAgentVersion, backupEngineId, backupEngineState, backupManagementType, canReRegister, dpmVersion, extendedInfo, friendlyName, healthStatus, isAzureBackupAgentUpgradeAvailable, isDpmUpgradeAvailable, registrationStatus
-
Constructor Details
-
AzureBackupServerEngine
public AzureBackupServerEngine()Creates an instance of AzureBackupServerEngine class.
-
-
Method Details
-
withFriendlyName
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
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
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
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
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
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
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
Set the dpmVersion property: Backup engine version.- Overrides:
withDpmVersion
in classBackupEngineBase
- Parameters:
dpmVersion
- the dpmVersion value to set.- Returns:
- the BackupEngineBase object itself.
-
withAzureBackupAgentVersion
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
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
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.
-