Class AzureBackupRestoreWithRehydrationRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPointBasedRestoreRequest
com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreWithRehydrationRequest
public final class AzureBackupRestoreWithRehydrationRequest
extends AzureBackupRecoveryPointBasedRestoreRequest
AzureBackupRestoreWithRehydrationRequest
AzureBackup Restore with Rehydration Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupRestoreWithRehydrationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the rehydrationPriority property: Priority to be used for rehydration.Get the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .void
validate()
Validates the instance.withRecoveryPointId
(String recoveryPointId) Set the recoveryPointId property: The recoveryPointId property.withRehydrationPriority
(RehydrationPriority rehydrationPriority) Set the rehydrationPriority property: Priority to be used for rehydration.withRehydrationRetentionDuration
(String rehydrationRetentionDuration) Set the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .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.AzureBackupRecoveryPointBasedRestoreRequest
recoveryPointId
Methods inherited from class com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
restoreTargetInfo, sourceDataStoreType, sourceResourceId
-
Constructor Details
-
AzureBackupRestoreWithRehydrationRequest
public AzureBackupRestoreWithRehydrationRequest()Creates an instance of AzureBackupRestoreWithRehydrationRequest class.
-
-
Method Details
-
rehydrationPriority
Get the rehydrationPriority property: Priority to be used for rehydration. Values High or Standard.- Returns:
- the rehydrationPriority value.
-
withRehydrationPriority
public AzureBackupRestoreWithRehydrationRequest withRehydrationPriority(RehydrationPriority rehydrationPriority) Set the rehydrationPriority property: Priority to be used for rehydration. Values High or Standard.- Parameters:
rehydrationPriority
- the rehydrationPriority value to set.- Returns:
- the AzureBackupRestoreWithRehydrationRequest object itself.
-
rehydrationRetentionDuration
Get the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .- Returns:
- the rehydrationRetentionDuration value.
-
withRehydrationRetentionDuration
public AzureBackupRestoreWithRehydrationRequest withRehydrationRetentionDuration(String rehydrationRetentionDuration) Set the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .- Parameters:
rehydrationRetentionDuration
- the rehydrationRetentionDuration value to set.- Returns:
- the AzureBackupRestoreWithRehydrationRequest object itself.
-
withRecoveryPointId
Set the recoveryPointId property: The recoveryPointId property.- Overrides:
withRecoveryPointId
in classAzureBackupRecoveryPointBasedRestoreRequest
- Parameters:
recoveryPointId
- the recoveryPointId value to set.- Returns:
- the AzureBackupRecoveryPointBasedRestoreRequest object itself.
-
withRestoreTargetInfo
public AzureBackupRestoreWithRehydrationRequest withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo) Set the restoreTargetInfo property: Gets or sets the restore target information.- Overrides:
withRestoreTargetInfo
in classAzureBackupRecoveryPointBasedRestoreRequest
- Parameters:
restoreTargetInfo
- the restoreTargetInfo value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
withSourceDataStoreType
public AzureBackupRestoreWithRehydrationRequest withSourceDataStoreType(SourceDataStoreType sourceDataStoreType) Set the sourceDataStoreType property: Gets or sets the type of the source data store.- Overrides:
withSourceDataStoreType
in classAzureBackupRecoveryPointBasedRestoreRequest
- 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 classAzureBackupRecoveryPointBasedRestoreRequest
- Parameters:
sourceResourceId
- the sourceResourceId value to set.- Returns:
- the AzureBackupRestoreRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAzureBackupRecoveryPointBasedRestoreRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-