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

public final class RecoveryType extends com.azure.core.util.ExpandableStringEnum<RecoveryType>
Type of this recovery.
  • Field Details

    • INVALID

      public static final RecoveryType INVALID
      Static value Invalid for RecoveryType.
    • ORIGINAL_LOCATION

      public static final RecoveryType ORIGINAL_LOCATION
      Static value OriginalLocation for RecoveryType.
    • ALTERNATE_LOCATION

      public static final RecoveryType ALTERNATE_LOCATION
      Static value AlternateLocation for RecoveryType.
    • RESTORE_DISKS

      public static final RecoveryType RESTORE_DISKS
      Static value RestoreDisks for RecoveryType.
    • OFFLINE

      public static final RecoveryType OFFLINE
      Static value Offline for RecoveryType.
  • Constructor Details

    • RecoveryType

      public RecoveryType()
  • Method Details

    • fromString

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

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