Class AzureBackupRecoveryPointBasedRestoreRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPointBasedRestoreRequest
- Direct Known Subclasses:
AzureBackupRestoreWithRehydrationRequest
AzureBackupRecoveryPointBasedRestoreRequest
Azure backup recoveryPoint based restore request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupRecoveryPointBasedRestoreRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the recoveryPointId property: The recoveryPointId property.void
validate()
Validates the instance.withRecoveryPointId
(String recoveryPointId) Set the recoveryPointId property: The recoveryPointId property.withRestoreTargetInfo
(RestoreTargetInfoBase restoreTargetInfo) Set the restoreTargetInfo property: Gets or sets the restore target information.withSourceDataStoreType
(SourceDataStoreType sourceDataStoreType) Set the sourceDataStoreType property: Gets or sets the type of the source data store.withSourceResourceId
(String sourceResourceId) Set the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.Methods inherited from class com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
restoreTargetInfo, sourceDataStoreType, sourceResourceId
-
Constructor Details
-
AzureBackupRecoveryPointBasedRestoreRequest
public AzureBackupRecoveryPointBasedRestoreRequest()Creates an instance of AzureBackupRecoveryPointBasedRestoreRequest class.
-
-
Method Details
-
recoveryPointId
Get the recoveryPointId property: The recoveryPointId property.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
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.
-
withSourceResourceId
Set the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.- Overrides:
withSourceResourceId
in classAzureBackupRestoreRequest
- Parameters:
sourceResourceId
- the sourceResourceId 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.
-