Class AzureBackupServerContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.DpmContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureBackupServerContainer
-
public final class AzureBackupServerContainer extends DpmContainer
AzureBackupServer (DPMVenus) workload-specific protection container.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupServerContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureBackupServerContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.AzureBackupServerContainer
withCanReRegister(Boolean canReRegister)
Set the canReRegister property: Specifies whether the container is re-registrable.AzureBackupServerContainer
withContainerId(String containerId)
Set the containerId property: ID of container.AzureBackupServerContainer
withDpmAgentVersion(String dpmAgentVersion)
Set the dpmAgentVersion property: Backup engine Agent version.AzureBackupServerContainer
withDpmServers(List<String> dpmServers)
Set the dpmServers property: List of BackupEngines protecting the container.AzureBackupServerContainer
withExtendedInfo(DpmContainerExtendedInfo extendedInfo)
Set the extendedInfo property: Extended Info of the container.AzureBackupServerContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.AzureBackupServerContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.AzureBackupServerContainer
withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.AzureBackupServerContainer
withProtectedItemCount(Long protectedItemCount)
Set the protectedItemCount property: Number of protected items in the BackupEngine.AzureBackupServerContainer
withProtectionStatus(String protectionStatus)
Set the protectionStatus property: Protection status of the container.AzureBackupServerContainer
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.AzureBackupServerContainer
withUpgradeAvailable(Boolean upgradeAvailable)
Set the upgradeAvailable property: To check if upgrade available.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.DpmContainer
canReRegister, containerId, dpmAgentVersion, dpmServers, extendedInfo, protectedItemCount, protectionStatus, upgradeAvailable
-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
backupManagementType, friendlyName, healthStatus, protectableObjectType, registrationStatus
-
-
-
-
Method Detail
-
withCanReRegister
public AzureBackupServerContainer withCanReRegister(Boolean canReRegister)
Set the canReRegister property: Specifies whether the container is re-registrable.- Overrides:
withCanReRegister
in classDpmContainer
- Parameters:
canReRegister
- the canReRegister value to set.- Returns:
- the DpmContainer object itself.
-
withContainerId
public AzureBackupServerContainer withContainerId(String containerId)
Set the containerId property: ID of container.- Overrides:
withContainerId
in classDpmContainer
- Parameters:
containerId
- the containerId value to set.- Returns:
- the DpmContainer object itself.
-
withProtectedItemCount
public AzureBackupServerContainer withProtectedItemCount(Long protectedItemCount)
Set the protectedItemCount property: Number of protected items in the BackupEngine.- Overrides:
withProtectedItemCount
in classDpmContainer
- Parameters:
protectedItemCount
- the protectedItemCount value to set.- Returns:
- the DpmContainer object itself.
-
withDpmAgentVersion
public AzureBackupServerContainer withDpmAgentVersion(String dpmAgentVersion)
Set the dpmAgentVersion property: Backup engine Agent version.- Overrides:
withDpmAgentVersion
in classDpmContainer
- Parameters:
dpmAgentVersion
- the dpmAgentVersion value to set.- Returns:
- the DpmContainer object itself.
-
withDpmServers
public AzureBackupServerContainer withDpmServers(List<String> dpmServers)
Set the dpmServers property: List of BackupEngines protecting the container.- Overrides:
withDpmServers
in classDpmContainer
- Parameters:
dpmServers
- the dpmServers value to set.- Returns:
- the DpmContainer object itself.
-
withUpgradeAvailable
public AzureBackupServerContainer withUpgradeAvailable(Boolean upgradeAvailable)
Set the upgradeAvailable property: To check if upgrade available.- Overrides:
withUpgradeAvailable
in classDpmContainer
- Parameters:
upgradeAvailable
- the upgradeAvailable value to set.- Returns:
- the DpmContainer object itself.
-
withProtectionStatus
public AzureBackupServerContainer withProtectionStatus(String protectionStatus)
Set the protectionStatus property: Protection status of the container.- Overrides:
withProtectionStatus
in classDpmContainer
- Parameters:
protectionStatus
- the protectionStatus value to set.- Returns:
- the DpmContainer object itself.
-
withExtendedInfo
public AzureBackupServerContainer withExtendedInfo(DpmContainerExtendedInfo extendedInfo)
Set the extendedInfo property: Extended Info of the container.- Overrides:
withExtendedInfo
in classDpmContainer
- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the DpmContainer object itself.
-
withFriendlyName
public AzureBackupServerContainer withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.- Overrides:
withFriendlyName
in classDpmContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectionContainer object itself.
-
withBackupManagementType
public AzureBackupServerContainer withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classDpmContainer
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectionContainer object itself.
-
withRegistrationStatus
public AzureBackupServerContainer withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.- Overrides:
withRegistrationStatus
in classDpmContainer
- Parameters:
registrationStatus
- the registrationStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withHealthStatus
public AzureBackupServerContainer withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.- Overrides:
withHealthStatus
in classDpmContainer
- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withProtectableObjectType
public AzureBackupServerContainer withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.- Overrides:
withProtectableObjectType
in classDpmContainer
- Parameters:
protectableObjectType
- the protectableObjectType value to set.- Returns:
- the ProtectionContainer object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDpmContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-