Class ServerVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerVersion>
com.azure.resourcemanager.cosmos.models.ServerVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Describes the version of the MongoDB account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServerVersion
Static value 5.0 for ServerVersion.static final ServerVersion
Static value 4.2 for ServerVersion.static final ServerVersion
Static value 4.0 for ServerVersion.static final ServerVersion
Static value 7.0 for ServerVersion.static final ServerVersion
Static value 6.0 for ServerVersion.static final ServerVersion
Static value 3.6 for ServerVersion.static final ServerVersion
Static value 3.2 for ServerVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerVersion
fromString
(String name) Creates or finds a ServerVersion from its string representation.static Collection
<ServerVersion> values()
Gets known ServerVersion values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
THREE_TWO
Static value 3.2 for ServerVersion. -
THREE_SIX
Static value 3.6 for ServerVersion. -
FOUR_ZERO
Static value 4.0 for ServerVersion. -
FOUR_TWO
Static value 4.2 for ServerVersion. -
FIVE_ZERO
Static value 5.0 for ServerVersion. -
SIX_ZERO
Static value 6.0 for ServerVersion. -
SEVEN_ZERO
Static value 7.0 for ServerVersion.
-
-
Constructor Details
-
ServerVersion
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ServerVersion value.
-
-
Method Details
-
fromString
Creates or finds a ServerVersion from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ServerVersion.
-
values
Gets known ServerVersion values.- Returns:
- known ServerVersion values.
-
fromString(String)
factory method.