Class AzureBackupRehydrationRequest

java.lang.Object
com.azure.resourcemanager.dataprotection.models.AzureBackupRehydrationRequest

public final class AzureBackupRehydrationRequest extends Object
AzureBackupRehydrationRequest

Azure Backup Rehydrate Request.

  • Constructor Details

    • AzureBackupRehydrationRequest

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

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