Class AzureBackupRestoreRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
-
- Direct Known Subclasses:
AzureBackupRecoveryPointBasedRestoreRequest
,AzureBackupRecoveryTimeBasedRestoreRequest
public class AzureBackupRestoreRequest extends Object
AzureBackupRestoreRequest Azure backup restore request.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupRestoreRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreTargetInfoBase
restoreTargetInfo()
Get the restoreTargetInfo property: Gets or sets the restore target information.SourceDataStoreType
sourceDataStoreType()
Get the sourceDataStoreType property: Gets or sets the type of the source data store.void
validate()
Validates the instance.AzureBackupRestoreRequest
withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.AzureBackupRestoreRequest
withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
Set the sourceDataStoreType property: Gets or sets the type of the source data store.
-
-
-
Method Detail
-
restoreTargetInfo
public RestoreTargetInfoBase restoreTargetInfo()
Get the restoreTargetInfo property: Gets or sets the restore target information.- Returns:
- the restoreTargetInfo value.
-
withRestoreTargetInfo
public AzureBackupRestoreRequest withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.- Parameters:
restoreTargetInfo
- the restoreTargetInfo value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
sourceDataStoreType
public SourceDataStoreType sourceDataStoreType()
Get the sourceDataStoreType property: Gets or sets the type of the source data store.- Returns:
- the sourceDataStoreType value.
-
withSourceDataStoreType
public AzureBackupRestoreRequest withSourceDataStoreType(SourceDataStoreType sourceDataStoreType)
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-