DatabaseAccountKind Class

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 DatabaseAccountKind GLOBAL_DOCUMENT_DB

Static value GlobalDocumentDB for DatabaseAccountKind.

static final DatabaseAccountKind MONGO_DB

Static value MongoDB for DatabaseAccountKind.

static final DatabaseAccountKind PARSE

Static value Parse for DatabaseAccountKind.

Constructor Summary

Constructor Description
DatabaseAccountKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DatabaseAccountKind value.

Method Summary

Modifier and Type Method and Description
static DatabaseAccountKind fromString(String name)

Creates or finds a DatabaseAccountKind from its string representation.

static Collection<DatabaseAccountKind> values()

Gets known DatabaseAccountKind values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding DatabaseAccountKind.

values

public static Collection values()

Gets known DatabaseAccountKind values.

Returns:

known DatabaseAccountKind values.

Applies to