Class RecoveryPointRehydrationInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointRehydrationInfo
RP Rehydration Info.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RecoveryPointRehydrationInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the rehydrationPriority property: Rehydration Priority.Get the rehydrationRetentionDuration property: How long the rehydrated RP should be kept Should be ISO8601 Duration format e.g.void
validate()
Validates the instance.withRehydrationPriority
(RehydrationPriority rehydrationPriority) Set the rehydrationPriority property: Rehydration Priority.withRehydrationRetentionDuration
(String rehydrationRetentionDuration) Set the rehydrationRetentionDuration property: How long the rehydrated RP should be kept Should be ISO8601 Duration format e.g.
-
Constructor Details
-
RecoveryPointRehydrationInfo
public RecoveryPointRehydrationInfo()Creates an instance of RecoveryPointRehydrationInfo class.
-
-
Method Details
-
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
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.
-