Class RecoveryPointRehydrationInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointRehydrationInfo
-
public final class RecoveryPointRehydrationInfo extends Object
RP Rehydration Info.
-
-
Constructor Summary
Constructors Constructor Description RecoveryPointRehydrationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RehydrationPriority
rehydrationPriority()
Get the rehydrationPriority property: Rehydration Priority.String
rehydrationRetentionDuration()
Get the rehydrationRetentionDuration property: How long the rehydrated RP should be kept Should be ISO8601 Duration format e.g.void
validate()
Validates the instance.RecoveryPointRehydrationInfo
withRehydrationPriority(RehydrationPriority rehydrationPriority)
Set the rehydrationPriority property: Rehydration Priority.RecoveryPointRehydrationInfo
withRehydrationRetentionDuration(String rehydrationRetentionDuration)
Set the rehydrationRetentionDuration property: How long the rehydrated RP should be kept Should be ISO8601 Duration format e.g.
-
-
-
Method Detail
-
rehydrationRetentionDuration
public String rehydrationRetentionDuration()
Get the rehydrationRetentionDuration property: How long the rehydrated RP should be kept Should be ISO8601 Duration format e.g. "P7D".- Returns:
- the rehydrationRetentionDuration value.
-
withRehydrationRetentionDuration
public RecoveryPointRehydrationInfo withRehydrationRetentionDuration(String rehydrationRetentionDuration)
Set the rehydrationRetentionDuration property: How long the rehydrated RP should be kept Should be ISO8601 Duration format e.g. "P7D".- Parameters:
rehydrationRetentionDuration
- the rehydrationRetentionDuration value to set.- Returns:
- the RecoveryPointRehydrationInfo object itself.
-
rehydrationPriority
public RehydrationPriority rehydrationPriority()
Get the rehydrationPriority property: Rehydration Priority.- Returns:
- the rehydrationPriority value.
-
withRehydrationPriority
public RecoveryPointRehydrationInfo withRehydrationPriority(RehydrationPriority rehydrationPriority)
Set the rehydrationPriority property: Rehydration Priority.- Parameters:
rehydrationPriority
- the rehydrationPriority value to set.- Returns:
- the RecoveryPointRehydrationInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-