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
Constructors Constructor Description AzureBackupRestoreWithRehydrationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RehydrationPriority
rehydrationPriority()
Get the rehydrationPriority property: Priority to be used for rehydration.String
rehydrationRetentionDuration()
Get the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .void
validate()
Validates the instance.AzureBackupRestoreWithRehydrationRequest
withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: The recoveryPointId property.AzureBackupRestoreWithRehydrationRequest
withRehydrationPriority(RehydrationPriority rehydrationPriority)
Set the rehydrationPriority property: Priority to be used for rehydration.AzureBackupRestoreWithRehydrationRequest
withRehydrationRetentionDuration(String rehydrationRetentionDuration)
Set the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .AzureBackupRestoreWithRehydrationRequest
withRestoreTargetInfo(RestoreTargetInfoBase restoreTargetInfo)
Set the restoreTargetInfo property: Gets or sets the restore target information.AzureBackupRestoreWithRehydrationRequest
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.AzureBackupRecoveryPointBasedRestoreRequest
recoveryPointId
-
Methods inherited from class com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreRequest
restoreTargetInfo, sourceDataStoreType
-
-
-
-
Method Detail
-
rehydrationPriority
public RehydrationPriority 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
public String 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
public AzureBackupRestoreWithRehydrationRequest withRecoveryPointId(String recoveryPointId)
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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureBackupRecoveryPointBasedRestoreRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-