Class ServerVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerVersion>
com.azure.resourcemanager.cosmos.models.ServerVersion
Describes the ServerVersion of an a MongoDB account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServerVersionStatic value 4.2 for ServerVersion.static final ServerVersionStatic value 4.0 for ServerVersion.static final ServerVersionStatic value 3.6 for ServerVersion.static final ServerVersionStatic value 3.2 for ServerVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerVersionfromString(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, 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.
-
-
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.