ServerVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. ServerVersion
- com.
- com.
public final class ServerVersion
extends ExpandableStringEnum<ServerVersion>
Describes the version of the MongoDB account.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Server |
FIVE_ZERO
Static value 5.0 for Server |
static final
Server |
FOUR_TWO
Static value 4.2 for Server |
static final
Server |
FOUR_ZERO
Static value 4.0 for Server |
static final
Server |
SEVEN_ZERO
Static value 7.0 for Server |
static final
Server |
SIX_ZERO
Static value 6.0 for Server |
static final
Server |
THREE_SIX
Static value 3.6 for Server |
static final
Server |
THREE_TWO
Static value 3.2 for Server |
Constructor Summary
Constructor | Description |
---|---|
ServerVersion() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Server |
fromString(String name)
Creates or finds a Server |
static
Collection<Server |
values()
Gets known Server |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FIVE_ZERO
public static final ServerVersion FIVE_ZERO
Static value 5.0 for ServerVersion.
FOUR_TWO
public static final ServerVersion FOUR_TWO
Static value 4.2 for ServerVersion.
FOUR_ZERO
public static final ServerVersion FOUR_ZERO
Static value 4.0 for ServerVersion.
SEVEN_ZERO
public static final ServerVersion SEVEN_ZERO
Static value 7.0 for ServerVersion.
SIX_ZERO
public static final ServerVersion SIX_ZERO
Static value 6.0 for ServerVersion.
THREE_SIX
public static final ServerVersion THREE_SIX
Static value 3.6 for ServerVersion.
THREE_TWO
public static final ServerVersion THREE_TWO
Static value 3.2 for ServerVersion.
Constructor Details
ServerVersion
@Deprecated
public ServerVersion()
Deprecated
Creates a new instance of ServerVersion value.
Method Details
fromString
public static ServerVersion fromString(String name)
Creates or finds a ServerVersion from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ServerVersion values.
Returns:
Applies to
Azure SDK for Java