Class AzureBackupRehydrationRequest
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupRehydrationRequest
-
public final class AzureBackupRehydrationRequest extends Object
AzureBackupRehydrationRequest Azure Backup Rehydrate Request.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupRehydrationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
recoveryPointId()
Get the recoveryPointId property: Id of the recovery point to be recovered.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.AzureBackupRehydrationRequest
withRecoveryPointId(String recoveryPointId)
Set the recoveryPointId property: Id of the recovery point to be recovered.AzureBackupRehydrationRequest
withRehydrationPriority(RehydrationPriority rehydrationPriority)
Set the rehydrationPriority property: Priority to be used for rehydration.AzureBackupRehydrationRequest
withRehydrationRetentionDuration(String rehydrationRetentionDuration)
Set the rehydrationRetentionDuration property: Retention duration in ISO 8601 format i.e P10D .
-
-
-
Method Detail
-
recoveryPointId
public String recoveryPointId()
Get the recoveryPointId property: Id of the recovery point to be recovered.- Returns:
- the recoveryPointId value.
-
withRecoveryPointId
public AzureBackupRehydrationRequest withRecoveryPointId(String recoveryPointId)
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
public RehydrationPriority 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
public String 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.
-
-