Class RecoveryOption

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RecoveryOption>
com.azure.resourcemanager.dataprotection.models.RecoveryOption

public final class RecoveryOption extends com.azure.core.util.ExpandableStringEnum<RecoveryOption>
Recovery Option.
  • Field Details

    • FAIL_IF_EXISTS

      public static final RecoveryOption FAIL_IF_EXISTS
      Static value FailIfExists for RecoveryOption.
  • Constructor Details

    • RecoveryOption

      @Deprecated public RecoveryOption()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of RecoveryOption value.
  • Method Details

    • fromString

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

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