Class CreateMode

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

public final class CreateMode extends com.azure.core.util.ExpandableStringEnum<CreateMode>
Enum to indicate the mode of account creation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CreateMode
    Static value Default for CreateMode.
    static final CreateMode
    Static value Restore for CreateMode.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static CreateMode
    Creates or finds a CreateMode from its string representation.
    Gets known CreateMode values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT

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

      public static final CreateMode RESTORE
      Static value Restore for CreateMode.
  • Constructor Details

    • CreateMode

      public CreateMode()
  • 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.