Class AzureVMAppContainerProtectionContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVMAppContainerProtectionContainer
-
public final class AzureVMAppContainerProtectionContainer extends AzureWorkloadContainer
Container for SQL workloads under Azure Virtual Machines.
-
-
Constructor Summary
Constructors Constructor Description AzureVMAppContainerProtectionContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureVMAppContainerProtectionContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.AzureVMAppContainerProtectionContainer
withExtendedInfo(AzureWorkloadContainerExtendedInfo extendedInfo)
Set the extendedInfo property: Additional details of a workload container.AzureVMAppContainerProtectionContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.AzureVMAppContainerProtectionContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.AzureVMAppContainerProtectionContainer
withLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: Time stamp when this container was updated.AzureVMAppContainerProtectionContainer
withOperationType(OperationType operationType)
Set the operationType property: Re-Do Operation.AzureVMAppContainerProtectionContainer
withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.AzureVMAppContainerProtectionContainer
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.AzureVMAppContainerProtectionContainer
withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: ARM ID of the virtual machine represented by this Azure Workload Container.AzureVMAppContainerProtectionContainer
withWorkloadType(WorkloadType workloadType)
Set the workloadType property: Workload type for which registration was sent.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadContainer
extendedInfo, lastUpdatedTime, operationType, sourceResourceId, workloadType
-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
backupManagementType, friendlyName, healthStatus, protectableObjectType, registrationStatus
-
-
-
-
Method Detail
-
withSourceResourceId
public AzureVMAppContainerProtectionContainer withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: ARM ID of the virtual machine represented by this Azure Workload Container.- Overrides:
withSourceResourceId
in classAzureWorkloadContainer
- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the AzureWorkloadContainer object itself.
-
withLastUpdatedTime
public AzureVMAppContainerProtectionContainer withLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: Time stamp when this container was updated.- Overrides:
withLastUpdatedTime
in classAzureWorkloadContainer
- Parameters:
lastUpdatedTime
- the lastUpdatedTime value to set.- Returns:
- the AzureWorkloadContainer object itself.
-
withExtendedInfo
public AzureVMAppContainerProtectionContainer withExtendedInfo(AzureWorkloadContainerExtendedInfo extendedInfo)
Set the extendedInfo property: Additional details of a workload container.- Overrides:
withExtendedInfo
in classAzureWorkloadContainer
- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the AzureWorkloadContainer object itself.
-
withWorkloadType
public AzureVMAppContainerProtectionContainer withWorkloadType(WorkloadType workloadType)
Set the workloadType property: Workload type for which registration was sent.- Overrides:
withWorkloadType
in classAzureWorkloadContainer
- Parameters:
workloadType
- the workloadType value to set.- Returns:
- the AzureWorkloadContainer object itself.
-
withOperationType
public AzureVMAppContainerProtectionContainer withOperationType(OperationType operationType)
Set the operationType property: Re-Do Operation.- Overrides:
withOperationType
in classAzureWorkloadContainer
- Parameters:
operationType
- the operationType value to set.- Returns:
- the AzureWorkloadContainer object itself.
-
withFriendlyName
public AzureVMAppContainerProtectionContainer withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.- Overrides:
withFriendlyName
in classAzureWorkloadContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectionContainer object itself.
-
withBackupManagementType
public AzureVMAppContainerProtectionContainer withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classAzureWorkloadContainer
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectionContainer object itself.
-
withRegistrationStatus
public AzureVMAppContainerProtectionContainer withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.- Overrides:
withRegistrationStatus
in classAzureWorkloadContainer
- Parameters:
registrationStatus
- the registrationStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withHealthStatus
public AzureVMAppContainerProtectionContainer withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.- Overrides:
withHealthStatus
in classAzureWorkloadContainer
- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withProtectableObjectType
public AzureVMAppContainerProtectionContainer withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.- Overrides:
withProtectableObjectType
in classAzureWorkloadContainer
- Parameters:
protectableObjectType
- the protectableObjectType value to set.- Returns:
- the ProtectionContainer object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureWorkloadContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-