java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApiType>
com.azure.resourcemanager.cosmos.models.ApiType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ApiType extends com.azure.core.util.ExpandableStringEnum<ApiType>
Enum to indicate the API type of the restorable database account.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ApiType
    Static value Cassandra for ApiType.
    static final ApiType
    Static value Gremlin for ApiType.
    static final ApiType
    Static value GremlinV2 for ApiType.
    static final ApiType
    Static value MongoDB for ApiType.
    static final ApiType
    Static value Sql for ApiType.
    static final ApiType
    Static value Table for ApiType.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static ApiType
    Creates or finds a ApiType from its string representation.
    Gets known ApiType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • MONGO_DB

      public static final ApiType MONGO_DB
      Static value MongoDB for ApiType.
    • GREMLIN

      public static final ApiType GREMLIN
      Static value Gremlin for ApiType.
    • CASSANDRA

      public static final ApiType CASSANDRA
      Static value Cassandra for ApiType.
    • TABLE

      public static final ApiType TABLE
      Static value Table for ApiType.
    • SQL

      public static final ApiType SQL
      Static value Sql for ApiType.
    • GREMLIN_V2

      public static final ApiType GREMLIN_V2
      Static value GremlinV2 for ApiType.
  • Constructor Details

  • 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<ApiType> values()
      Gets known ApiType values.
      Returns:
      known ApiType values.