Class ServerVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerVersion>
com.azure.resourcemanager.postgresqlflexibleserver.models.ServerVersion
The version of a server.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerVersion
Static value 14 for ServerVersion.static final ServerVersion
Static value 11 for ServerVersion.static final ServerVersion
Static value 13 for ServerVersion.static final ServerVersion
Static value 12 for ServerVersion. -
Constructor Summary
-
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, hashCode, toString, values
-
Field Details
-
ONE_FOUR
Static value 14 for ServerVersion. -
ONE_THREE
Static value 13 for ServerVersion. -
ONE_TWO
Static value 12 for ServerVersion. -
ONE_ONE
Static value 11 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.