Partager via


ApiType Class

public final class ApiType
extends ExpandableStringEnum<ApiType>

Enum to indicate the API type of the restorable database account.

Field Summary

Modifier and Type Field and Description
static final ApiType CASSANDRA

Static value Cassandra for ApiType.

static final ApiType GREMLIN

Static value Gremlin for ApiType.

static final ApiType GREMLIN_V2

Static value GremlinV2 for ApiType.

static final ApiType MONGO_DB

Static value MongoDB for ApiType.

static final ApiType SQL

Static value Sql for ApiType.

static final ApiType TABLE

Static value Table for ApiType.

Constructor Summary

Constructor Description
ApiType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ApiType value.

Method Summary

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

Creates or finds a ApiType from its string representation.

static Collection<ApiType> values()

Gets known ApiType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CASSANDRA

public static final ApiType CASSANDRA

Static value Cassandra for ApiType.

GREMLIN

public static final ApiType GREMLIN

Static value Gremlin for ApiType.

GREMLIN_V2

public static final ApiType GREMLIN_V2

Static value GremlinV2 for ApiType.

MONGO_DB

public static final ApiType MONGO_DB

Static value MongoDB for ApiType.

SQL

public static final ApiType SQL

Static value Sql for ApiType.

TABLE

public static final ApiType TABLE

Static value Table for ApiType.

Constructor Details

ApiType

@Deprecated
public ApiType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ApiType value.

Method Details

fromString

public static ApiType fromString(String name)

Creates or finds a ApiType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ApiType.

values

public static Collection values()

Gets known ApiType values.

Returns:

known ApiType values.

Applies to