Class AzureBackupRehydrationRequest
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRehydrationRequest
AzureBackupRehydrationRequest
Azure Backup Rehydrate Request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupRehydrationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the recoveryPointId property: Id of the recovery point to be recovered.Get 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: Id of the recovery point to be recovered.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 .
-
Constructor Details
-
AzureBackupRehydrationRequest
public AzureBackupRehydrationRequest()Creates an instance of AzureBackupRehydrationRequest class.
-
-
Method Details
-
recoveryPointId
Get the recoveryPointId property: Id of the recovery point to be recovered.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
Set the recoveryPointId property: Id of the recovery point to be recovered.- Parameters:
recoveryPointId
- the recoveryPointId value to set.- Returns:
- the AzureBackupRehydrationRequest object itself.
-
rehydrationPriority
Get the rehydrationPriority property: Priority to be used for rehydration. Values High or Standard.- Returns:
- the rehydrationPriority value.
-
withRehydrationPriority
public AzureBackupRehydrationRequest 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 AzureBackupRehydrationRequest object itself.
-
rehydrationRetentionDuration
Get the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .- Returns:
- the rehydrationRetentionDuration value.
-
withRehydrationRetentionDuration
public AzureBackupRehydrationRequest 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 AzureBackupRehydrationRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-