java.lang.Object
com.azure.core.util.ExpandableStringEnum<RecoveryMode>
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryMode

public final class RecoveryMode extends com.azure.core.util.ExpandableStringEnum<RecoveryMode>
Defines whether the current recovery mode is file restore or database restore.
  • Field Details

    • INVALID

      public static final RecoveryMode INVALID
      Static value Invalid for RecoveryMode.
    • FILE_RECOVERY

      public static final RecoveryMode FILE_RECOVERY
      Static value FileRecovery for RecoveryMode.
    • WORKLOAD_RECOVERY

      public static final RecoveryMode WORKLOAD_RECOVERY
      Static value WorkloadRecovery for RecoveryMode.
  • Constructor Details

    • RecoveryMode

      public RecoveryMode()
  • Method Details

    • fromString

      public static RecoveryMode fromString(String name)
      Creates or finds a RecoveryMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding RecoveryMode.
    • values

      public static Collection<RecoveryMode> values()
      Gets known RecoveryMode values.
      Returns:
      known RecoveryMode values.