DatabaseAccountKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. DatabaseAccountKind
- com.
- com.
public final class DatabaseAccountKind
extends ExpandableStringEnum<DatabaseAccountKind>
Indicates the type of database account. This can only be set at database account creation.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Database |
GLOBAL_DOCUMENT_DB
Static value Global |
static final
Database |
MONGO_DB
Static value MongoDB for Database |
static final
Database |
PARSE
Static value Parse for Database |
Constructor Summary
Constructor | Description |
---|---|
DatabaseAccountKind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Database |
fromString(String name)
Creates or finds a Database |
static
Collection<Database |
values()
Gets known Database |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GLOBAL_DOCUMENT_DB
public static final DatabaseAccountKind GLOBAL_DOCUMENT_DB
Static value GlobalDocumentDB for DatabaseAccountKind.
MONGO_DB
public static final DatabaseAccountKind MONGO_DB
Static value MongoDB for DatabaseAccountKind.
PARSE
public static final DatabaseAccountKind PARSE
Static value Parse for DatabaseAccountKind.
Constructor Details
DatabaseAccountKind
@Deprecated
public DatabaseAccountKind()
Deprecated
Creates a new instance of DatabaseAccountKind value.
Method Details
fromString
public static DatabaseAccountKind fromString(String name)
Creates or finds a DatabaseAccountKind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DatabaseAccountKind values.
Returns:
Applies to
Azure SDK for Java