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

public final class CreateMode extends com.azure.core.util.ExpandableStringEnum<CreateMode>
Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
  • Field Details

    • INVALID

      public static final CreateMode INVALID
      Static value Invalid for CreateMode.
    • DEFAULT

      public static final CreateMode DEFAULT
      Static value Default for CreateMode.
    • RECOVER

      public static final CreateMode RECOVER
      Static value Recover for CreateMode.
  • Constructor Details

  • Method Details

    • fromString

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

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