Class AzureVmWorkloadSapHanaSystemWorkloadItem
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadItem
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadItem
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadSapHanaSystemWorkloadItem
-
public final class AzureVmWorkloadSapHanaSystemWorkloadItem extends AzureVmWorkloadItem
Azure VM workload-specific workload item representing SAP HANA System.
-
-
Constructor Summary
Constructors Constructor Description AzureVmWorkloadSapHanaSystemWorkloadItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureVmWorkloadSapHanaSystemWorkloadItem
withBackupManagementType(String backupManagementType)
Set the backupManagementType property: Type of backup management to backup an item.AzureVmWorkloadSapHanaSystemWorkloadItem
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup item.AzureVmWorkloadSapHanaSystemWorkloadItem
withIsAutoProtectable(Boolean isAutoProtectable)
Set the isAutoProtectable property: Indicates if workload item is auto-protectable.AzureVmWorkloadSapHanaSystemWorkloadItem
withParentName(String parentName)
Set the parentName property: Name for instance or AG.AzureVmWorkloadSapHanaSystemWorkloadItem
withProtectionState(ProtectionStatus protectionState)
Set the protectionState property: State of the back up item.AzureVmWorkloadSapHanaSystemWorkloadItem
withServerName(String serverName)
Set the serverName property: Host/Cluster Name for instance or AG.AzureVmWorkloadSapHanaSystemWorkloadItem
withSubinquireditemcount(Integer subinquireditemcount)
Set the subinquireditemcount property: For instance or AG, indicates number of DB's present.AzureVmWorkloadSapHanaSystemWorkloadItem
withSubWorkloadItemCount(Integer subWorkloadItemCount)
Set the subWorkloadItemCount property: For instance or AG, indicates number of DB's to be protected.AzureVmWorkloadSapHanaSystemWorkloadItem
withWorkloadType(String workloadType)
Set the workloadType property: Type of workload for the backup management.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadItem
isAutoProtectable, parentName, serverName, subinquireditemcount, subWorkloadItemCount
-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadItem
backupManagementType, friendlyName, protectionState, workloadType
-
-
-
-
Method Detail
-
withParentName
public AzureVmWorkloadSapHanaSystemWorkloadItem withParentName(String parentName)
Set the parentName property: Name for instance or AG.- Overrides:
withParentName
in classAzureVmWorkloadItem
- Parameters:
parentName
- the parentName value to set.- Returns:
- the AzureVmWorkloadItem object itself.
-
withServerName
public AzureVmWorkloadSapHanaSystemWorkloadItem withServerName(String serverName)
Set the serverName property: Host/Cluster Name for instance or AG.- Overrides:
withServerName
in classAzureVmWorkloadItem
- Parameters:
serverName
- the serverName value to set.- Returns:
- the AzureVmWorkloadItem object itself.
-
withIsAutoProtectable
public AzureVmWorkloadSapHanaSystemWorkloadItem withIsAutoProtectable(Boolean isAutoProtectable)
Set the isAutoProtectable property: Indicates if workload item is auto-protectable.- Overrides:
withIsAutoProtectable
in classAzureVmWorkloadItem
- Parameters:
isAutoProtectable
- the isAutoProtectable value to set.- Returns:
- the AzureVmWorkloadItem object itself.
-
withSubinquireditemcount
public AzureVmWorkloadSapHanaSystemWorkloadItem withSubinquireditemcount(Integer subinquireditemcount)
Set the subinquireditemcount property: For instance or AG, indicates number of DB's present.- Overrides:
withSubinquireditemcount
in classAzureVmWorkloadItem
- Parameters:
subinquireditemcount
- the subinquireditemcount value to set.- Returns:
- the AzureVmWorkloadItem object itself.
-
withSubWorkloadItemCount
public AzureVmWorkloadSapHanaSystemWorkloadItem withSubWorkloadItemCount(Integer subWorkloadItemCount)
Set the subWorkloadItemCount property: For instance or AG, indicates number of DB's to be protected.- Overrides:
withSubWorkloadItemCount
in classAzureVmWorkloadItem
- Parameters:
subWorkloadItemCount
- the subWorkloadItemCount value to set.- Returns:
- the AzureVmWorkloadItem object itself.
-
withBackupManagementType
public AzureVmWorkloadSapHanaSystemWorkloadItem withBackupManagementType(String backupManagementType)
Set the backupManagementType property: Type of backup management to backup an item.- Overrides:
withBackupManagementType
in classAzureVmWorkloadItem
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the WorkloadItem object itself.
-
withWorkloadType
public AzureVmWorkloadSapHanaSystemWorkloadItem withWorkloadType(String workloadType)
Set the workloadType property: Type of workload for the backup management.- Overrides:
withWorkloadType
in classAzureVmWorkloadItem
- Parameters:
workloadType
- the workloadType value to set.- Returns:
- the WorkloadItem object itself.
-
withFriendlyName
public AzureVmWorkloadSapHanaSystemWorkloadItem withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup item.- Overrides:
withFriendlyName
in classAzureVmWorkloadItem
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the WorkloadItem object itself.
-
withProtectionState
public AzureVmWorkloadSapHanaSystemWorkloadItem withProtectionState(ProtectionStatus protectionState)
Set the protectionState property: State of the back up item.- Overrides:
withProtectionState
in classAzureVmWorkloadItem
- Parameters:
protectionState
- the protectionState value to set.- Returns:
- the WorkloadItem object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureVmWorkloadItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-