Class PostgresMajorVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PostgresMajorVersion>
com.azure.resourcemanager.postgresqlflexibleserver.models.PostgresMajorVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PostgresMajorVersion
extends com.azure.core.util.ExpandableStringEnum<PostgresMajorVersion>
Major version of PostgreSQL database engine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PostgresMajorVersionStatic value 18 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 15 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 14 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 11 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 17 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 16 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 13 for PostgresMajorVersion.static final PostgresMajorVersionStatic value 12 for PostgresMajorVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PostgresMajorVersionfromString(String name) Creates or finds a PostgresMajorVersion from its string representation.static Collection<PostgresMajorVersion> values()Gets known PostgresMajorVersion values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ONE_EIGHT
Static value 18 for PostgresMajorVersion. -
ONE_SEVEN
Static value 17 for PostgresMajorVersion. -
ONE_SIX
Static value 16 for PostgresMajorVersion. -
ONE_FIVE
Static value 15 for PostgresMajorVersion. -
ONE_FOUR
Static value 14 for PostgresMajorVersion. -
ONE_THREE
Static value 13 for PostgresMajorVersion. -
ONE_TWO
Static value 12 for PostgresMajorVersion. -
ONE_ONE
Static value 11 for PostgresMajorVersion.
-
-
Constructor Details
-
PostgresMajorVersion
Deprecated.Use thefromString(String)factory method.Creates a new instance of PostgresMajorVersion value.
-
-
Method Details
-
fromString
Creates or finds a PostgresMajorVersion from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PostgresMajorVersion.
-
values
Gets known PostgresMajorVersion values.- Returns:
- known PostgresMajorVersion values.
-
fromString(String)factory method.