Class RecoveryPointRehydrationInfo

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointRehydrationInfo

public final class RecoveryPointRehydrationInfo extends Object
RP Rehydration Info.
  • Constructor Details

    • RecoveryPointRehydrationInfo

      public RecoveryPointRehydrationInfo()
      Creates an instance of RecoveryPointRehydrationInfo class.
  • Method Details

    • 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.