Class CreateMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CreateMode>
com.azure.resourcemanager.cosmos.models.CreateMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Enum to indicate the mode of account creation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CreateMode
Static value Default for CreateMode.static final CreateMode
Static value Restore for CreateMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateMode
fromString
(String name) Creates or finds a CreateMode from its string representation.static Collection
<CreateMode> values()
Gets known CreateMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DEFAULT
Static value Default for CreateMode. -
RESTORE
Static value Restore for CreateMode.
-
-
Constructor Details
-
CreateMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CreateMode value.
-
-
Method Details
-
fromString
Creates or finds a CreateMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CreateMode.
-
values
Gets known CreateMode values.- Returns:
- known CreateMode values.
-
fromString(String)
factory method.