Class AzureSqlagWorkloadContainerProtectionContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureSqlagWorkloadContainerProtectionContainer
-
public final class AzureSqlagWorkloadContainerProtectionContainer extends AzureWorkloadContainer
Container for SQL workloads under SQL Availability Group.
-
-
Constructor Summary
Constructors Constructor Description AzureSqlagWorkloadContainerProtectionContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureSqlagWorkloadContainerProtectionContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.AzureSqlagWorkloadContainerProtectionContainer
withExtendedInfo(AzureWorkloadContainerExtendedInfo extendedInfo)
Set the extendedInfo property: Additional details of a workload container.AzureSqlagWorkloadContainerProtectionContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.AzureSqlagWorkloadContainerProtectionContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.AzureSqlagWorkloadContainerProtectionContainer
withLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: Time stamp when this container was updated.AzureSqlagWorkloadContainerProtectionContainer
withOperationType(OperationType operationType)
Set the operationType property: Re-Do Operation.AzureSqlagWorkloadContainerProtectionContainer
withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.AzureSqlagWorkloadContainerProtectionContainer
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.AzureSqlagWorkloadContainerProtectionContainer
withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: ARM ID of the virtual machine represented by this Azure Workload Container.AzureSqlagWorkloadContainerProtectionContainer
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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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 AzureSqlagWorkloadContainerProtectionContainer 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.
-
-