Class AzureBackupRestoreRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
- Direct Known Subclasses:
AzureBackupRecoveryPointBasedRestoreRequest
,AzureBackupRecoveryTimeBasedRestoreRequest
AzureBackupRestoreRequest
Azure backup restore request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupRestoreRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the restoreTargetInfo property: Gets or sets the restore target information.Get the sourceDataStoreType property: Gets or sets the type of the source data store.Get the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.void
validate()
Validates the instance.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.
-
Constructor Details
-
AzureBackupRestoreRequest
public AzureBackupRestoreRequest()Creates an instance of AzureBackupRestoreRequest class.
-
-
Method Details
-
restoreTargetInfo
Get the restoreTargetInfo property: Gets or sets the restore target information.- Returns:
- the restoreTargetInfo value.
-
withRestoreTargetInfo
Set the restoreTargetInfo property: Gets or sets the restore target information.- Parameters:
restoreTargetInfo
- the restoreTargetInfo value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
sourceDataStoreType
Get the sourceDataStoreType property: Gets or sets the type of the source data store.- Returns:
- the sourceDataStoreType value.
-
withSourceDataStoreType
Set the sourceDataStoreType property: Gets or sets the type of the source data store.- Parameters:
sourceDataStoreType
- the sourceDataStoreType value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
sourceResourceId
Get the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.- Returns:
- the sourceResourceId value.
-
withSourceResourceId
Set the sourceResourceId property: Fully qualified Azure Resource Manager ID of the datasource which is being recovered.- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-