Class AzureVmWorkloadSapAseSystemProtectableItem
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadProtectableItem
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadProtectableItem
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadSapAseSystemProtectableItem
-
public final class AzureVmWorkloadSapAseSystemProtectableItem extends AzureVmWorkloadProtectableItem
Azure VM workload-specific protectable item representing SAP ASE System.
-
-
Constructor Summary
Constructors Constructor Description AzureVmWorkloadSapAseSystemProtectableItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureVmWorkloadSapAseSystemProtectableItem
withBackupManagementType(String backupManagementType)
Set the backupManagementType property: Type of backup management to backup an item.AzureVmWorkloadSapAseSystemProtectableItem
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup item.AzureVmWorkloadSapAseSystemProtectableItem
withIsAutoProtectable(Boolean isAutoProtectable)
Set the isAutoProtectable property: Indicates if protectable item is auto-protectable.AzureVmWorkloadSapAseSystemProtectableItem
withIsAutoProtected(Boolean isAutoProtected)
Set the isAutoProtected property: Indicates if protectable item is auto-protected.AzureVmWorkloadSapAseSystemProtectableItem
withParentName(String parentName)
Set the parentName property: Name for instance or AG.AzureVmWorkloadSapAseSystemProtectableItem
withParentUniqueName(String parentUniqueName)
Set the parentUniqueName property: Parent Unique Name is added to provide the service formatted URI Name of the Parent Only Applicable for data bases where the parent would be either Instance or a SQL AG.AzureVmWorkloadSapAseSystemProtectableItem
withPrebackupvalidation(PreBackupValidation prebackupvalidation)
Set the prebackupvalidation property: Pre-backup validation for protectable objects.AzureVmWorkloadSapAseSystemProtectableItem
withProtectionState(ProtectionStatus protectionState)
Set the protectionState property: State of the back up item.AzureVmWorkloadSapAseSystemProtectableItem
withServerName(String serverName)
Set the serverName property: Host/Cluster Name for instance or AG.AzureVmWorkloadSapAseSystemProtectableItem
withSubinquireditemcount(Integer subinquireditemcount)
Set the subinquireditemcount property: For instance or AG, indicates number of DB's present.AzureVmWorkloadSapAseSystemProtectableItem
withSubprotectableitemcount(Integer subprotectableitemcount)
Set the subprotectableitemcount property: For instance or AG, indicates number of DB's to be protected.AzureVmWorkloadSapAseSystemProtectableItem
withWorkloadType(String workloadType)
Set the workloadType property: Type of workload for the backup management.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadProtectableItem
isAutoProtectable, isAutoProtected, parentName, parentUniqueName, prebackupvalidation, serverName, subinquireditemcount, subprotectableitemcount
-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadProtectableItem
backupManagementType, friendlyName, protectionState, workloadType
-
-
-
-
Method Detail
-
withParentName
public AzureVmWorkloadSapAseSystemProtectableItem withParentName(String parentName)
Set the parentName property: Name for instance or AG.- Overrides:
withParentName
in classAzureVmWorkloadProtectableItem
- Parameters:
parentName
- the parentName value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withParentUniqueName
public AzureVmWorkloadSapAseSystemProtectableItem withParentUniqueName(String parentUniqueName)
Set the parentUniqueName property: Parent Unique Name is added to provide the service formatted URI Name of the Parent Only Applicable for data bases where the parent would be either Instance or a SQL AG.- Overrides:
withParentUniqueName
in classAzureVmWorkloadProtectableItem
- Parameters:
parentUniqueName
- the parentUniqueName value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withServerName
public AzureVmWorkloadSapAseSystemProtectableItem withServerName(String serverName)
Set the serverName property: Host/Cluster Name for instance or AG.- Overrides:
withServerName
in classAzureVmWorkloadProtectableItem
- Parameters:
serverName
- the serverName value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withIsAutoProtectable
public AzureVmWorkloadSapAseSystemProtectableItem withIsAutoProtectable(Boolean isAutoProtectable)
Set the isAutoProtectable property: Indicates if protectable item is auto-protectable.- Overrides:
withIsAutoProtectable
in classAzureVmWorkloadProtectableItem
- Parameters:
isAutoProtectable
- the isAutoProtectable value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withIsAutoProtected
public AzureVmWorkloadSapAseSystemProtectableItem withIsAutoProtected(Boolean isAutoProtected)
Set the isAutoProtected property: Indicates if protectable item is auto-protected.- Overrides:
withIsAutoProtected
in classAzureVmWorkloadProtectableItem
- Parameters:
isAutoProtected
- the isAutoProtected value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withSubinquireditemcount
public AzureVmWorkloadSapAseSystemProtectableItem withSubinquireditemcount(Integer subinquireditemcount)
Set the subinquireditemcount property: For instance or AG, indicates number of DB's present.- Overrides:
withSubinquireditemcount
in classAzureVmWorkloadProtectableItem
- Parameters:
subinquireditemcount
- the subinquireditemcount value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withSubprotectableitemcount
public AzureVmWorkloadSapAseSystemProtectableItem withSubprotectableitemcount(Integer subprotectableitemcount)
Set the subprotectableitemcount property: For instance or AG, indicates number of DB's to be protected.- Overrides:
withSubprotectableitemcount
in classAzureVmWorkloadProtectableItem
- Parameters:
subprotectableitemcount
- the subprotectableitemcount value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withPrebackupvalidation
public AzureVmWorkloadSapAseSystemProtectableItem withPrebackupvalidation(PreBackupValidation prebackupvalidation)
Set the prebackupvalidation property: Pre-backup validation for protectable objects.- Overrides:
withPrebackupvalidation
in classAzureVmWorkloadProtectableItem
- Parameters:
prebackupvalidation
- the prebackupvalidation value to set.- Returns:
- the AzureVmWorkloadProtectableItem object itself.
-
withBackupManagementType
public AzureVmWorkloadSapAseSystemProtectableItem withBackupManagementType(String backupManagementType)
Set the backupManagementType property: Type of backup management to backup an item.- Overrides:
withBackupManagementType
in classAzureVmWorkloadProtectableItem
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
withWorkloadType
public AzureVmWorkloadSapAseSystemProtectableItem withWorkloadType(String workloadType)
Set the workloadType property: Type of workload for the backup management.- Overrides:
withWorkloadType
in classAzureVmWorkloadProtectableItem
- Parameters:
workloadType
- the workloadType value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
withFriendlyName
public AzureVmWorkloadSapAseSystemProtectableItem withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup item.- Overrides:
withFriendlyName
in classAzureVmWorkloadProtectableItem
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
withProtectionState
public AzureVmWorkloadSapAseSystemProtectableItem withProtectionState(ProtectionStatus protectionState)
Set the protectionState property: State of the back up item.- Overrides:
withProtectionState
in classAzureVmWorkloadProtectableItem
- Parameters:
protectionState
- the protectionState value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureVmWorkloadProtectableItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-