CreateMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. CreateMode
- com.
- com.
public final class CreateMode
extends ExpandableStringEnum<CreateMode>
Enum to indicate the mode of account creation.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Create |
DEFAULT
Static value Default for Create |
static final
Create |
RESTORE
Static value Restore for Create |
Constructor Summary
Constructor | Description |
---|---|
CreateMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Create |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Create |
fromString(String name)
Creates or finds a Create |
static
Collection<Create |
values()
Gets known Create |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
@Deprecated
public CreateMode()
Deprecated
Creates a new instance of CreateMode value.
Method Details
fromString
public static CreateMode fromString(String name)
Creates or finds a CreateMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known CreateMode values.
Returns:
Applies to
Azure SDK for Java