Class AzureWorkloadSapHanaRestoreWithRehydrateRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RestoreRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRestoreRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSapHanaRestoreRequest
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSapHanaRestoreWithRehydrateRequest
-
public final class AzureWorkloadSapHanaRestoreWithRehydrateRequest extends AzureWorkloadSapHanaRestoreRequest
AzureWorkload SAP Hana-specific restore with integrated rehydration of recovery point.
-
-
Constructor Summary
Constructors Constructor Description AzureWorkloadSapHanaRestoreWithRehydrateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecoveryPointRehydrationInfo
recoveryPointRehydrationInfo()
Get the recoveryPointRehydrationInfo property: RP Rehydration Info.void
validate()
Validates the instance.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: Workload specific property bag.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withRecoveryMode(RecoveryMode recoveryMode)
Set the recoveryMode property: Defines whether the current recovery mode is file restore or database restore.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withRecoveryPointRehydrationInfo(RecoveryPointRehydrationInfo recoveryPointRehydrationInfo)
Set the recoveryPointRehydrationInfo property: RP Rehydration Info.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withRecoveryType(RecoveryType recoveryType)
Set the recoveryType property: Type of this recovery.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: Fully qualified ARM ID of the VM on which workload that was running is being recovered.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withTargetInfo(TargetRestoreInfo targetInfo)
Set the targetInfo property: Details of target database.AzureWorkloadSapHanaRestoreWithRehydrateRequest
withTargetVirtualMachineId(String targetVirtualMachineId)
Set the targetVirtualMachineId property: This is the complete ARM Id of the target VM For e.g.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRestoreRequest
propertyBag, recoveryMode, recoveryType, sourceResourceId, targetInfo, targetVirtualMachineId
-
-
-
-
Method Detail
-
recoveryPointRehydrationInfo
public RecoveryPointRehydrationInfo recoveryPointRehydrationInfo()
Get the recoveryPointRehydrationInfo property: RP Rehydration Info.- Returns:
- the recoveryPointRehydrationInfo value.
-
withRecoveryPointRehydrationInfo
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withRecoveryPointRehydrationInfo(RecoveryPointRehydrationInfo recoveryPointRehydrationInfo)
Set the recoveryPointRehydrationInfo property: RP Rehydration Info.- Parameters:
recoveryPointRehydrationInfo
- the recoveryPointRehydrationInfo value to set.- Returns:
- the AzureWorkloadSapHanaRestoreWithRehydrateRequest object itself.
-
withRecoveryType
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withRecoveryType(RecoveryType recoveryType)
Set the recoveryType property: Type of this recovery.- Overrides:
withRecoveryType
in classAzureWorkloadSapHanaRestoreRequest
- Parameters:
recoveryType
- the recoveryType value to set.- Returns:
- the AzureWorkloadRestoreRequest object itself.
-
withSourceResourceId
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: Fully qualified ARM ID of the VM on which workload that was running is being recovered.- Overrides:
withSourceResourceId
in classAzureWorkloadSapHanaRestoreRequest
- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the AzureWorkloadRestoreRequest object itself.
-
withPropertyBag
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: Workload specific property bag.- Overrides:
withPropertyBag
in classAzureWorkloadSapHanaRestoreRequest
- Parameters:
propertyBag
- the propertyBag value to set.- Returns:
- the AzureWorkloadRestoreRequest object itself.
-
withTargetInfo
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withTargetInfo(TargetRestoreInfo targetInfo)
Set the targetInfo property: Details of target database.- Overrides:
withTargetInfo
in classAzureWorkloadSapHanaRestoreRequest
- Parameters:
targetInfo
- the targetInfo value to set.- Returns:
- the AzureWorkloadRestoreRequest object itself.
-
withRecoveryMode
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withRecoveryMode(RecoveryMode recoveryMode)
Set the recoveryMode property: Defines whether the current recovery mode is file restore or database restore.- Overrides:
withRecoveryMode
in classAzureWorkloadSapHanaRestoreRequest
- Parameters:
recoveryMode
- the recoveryMode value to set.- Returns:
- the AzureWorkloadRestoreRequest object itself.
-
withTargetVirtualMachineId
public AzureWorkloadSapHanaRestoreWithRehydrateRequest withTargetVirtualMachineId(String targetVirtualMachineId)
Set the targetVirtualMachineId property: This is the complete ARM Id of the target VM For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}.- Overrides:
withTargetVirtualMachineId
in classAzureWorkloadSapHanaRestoreRequest
- Parameters:
targetVirtualMachineId
- the targetVirtualMachineId value to set.- Returns:
- the AzureWorkloadRestoreRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureWorkloadSapHanaRestoreRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-