Class AzureBackupRecoveryPointBasedRestoreRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPointBasedRestoreRequest
-
- Direct Known Subclasses:
AzureBackupRestoreWithRehydrationRequest
public class AzureBackupRecoveryPointBasedRestoreRequest extends AzureBackupRestoreRequest
AzureBackupRecoveryPointBasedRestoreRequest Azure backup recoveryPoint based restore request.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupRecoveryPointBasedRestoreRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
recoveryPointId()
Get the recoveryPointId property: The recoveryPointId property.void
validate()
Validates the instance.AzureBackupRecoveryPointBasedRestoreRequest
withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: The recoveryPointId property.AzureBackupRecoveryPointBasedRestoreRequest
withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.AzureBackupRecoveryPointBasedRestoreRequest
withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
Set the sourceDataStoreType property: Gets or sets the type of the source data store.-
Methods inherited from class com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
restoreTargetInfo, sourceDataStoreType
-
-
-
-
Method Detail
-
recoveryPointId
public String recoveryPointId()
Get the recoveryPointId property: The recoveryPointId property.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
public AzureBackupRecoveryPointBasedRestoreRequest withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: The recoveryPointId property.- Parameters:
recoveryPointId
- the recoveryPointId value to set.- Returns:
- the AzureBackupRecoveryPointBasedRestoreRequest object itself.
-
withRestoreTargetInfo
public AzureBackupRecoveryPointBasedRestoreRequest withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.- Overrides:
withRestoreTargetInfo
in classAzureBackupRestoreRequest
- Parameters:
restoreTargetInfo
- the restoreTargetInfo value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
withSourceDataStoreType
public AzureBackupRecoveryPointBasedRestoreRequest withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
Set the sourceDataStoreType property: Gets or sets the type of the source data store.- Overrides:
withSourceDataStoreType
in classAzureBackupRestoreRequest
- Parameters:
sourceDataStoreType
- the sourceDataStoreType value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureBackupRestoreRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-