Class ApiType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApiType>
com.azure.resourcemanager.cosmos.models.ApiType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Enum to indicate the API type of the restorable database account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ApiTypeStatic value Cassandra for ApiType.static final ApiTypeStatic value Gremlin for ApiType.static final ApiTypeStatic value GremlinV2 for ApiType.static final ApiTypeStatic value MongoDB for ApiType.static final ApiTypeStatic value Sql for ApiType.static final ApiTypeStatic value Table for ApiType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiTypefromString(String name) Creates or finds a ApiType from its string representation.static Collection<ApiType> values()Gets known ApiType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
MONGO_DB
Static value MongoDB for ApiType. -
GREMLIN
Static value Gremlin for ApiType. -
CASSANDRA
Static value Cassandra for ApiType. -
TABLE
Static value Table for ApiType. -
SQL
Static value Sql for ApiType. -
GREMLIN_V2
Static value GremlinV2 for ApiType.
-
-
Constructor Details
-
ApiType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ApiType value.
-
-
Method Details
-
fromString
Creates or finds a ApiType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ApiType.
-
values
Gets known ApiType values.- Returns:
- known ApiType values.
-
fromString(String)factory method.