ServerVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. postgresql. models. ServerVersion
- com.
- com.
public final class ServerVersion
extends ExpandableStringEnum<ServerVersion>
The version of a server.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Server |
NINE_FIVE
Static value 9.5 for Server |
|
static final
Server |
NINE_SIX
Static value 9.6 for Server |
|
static final
Server |
ONE_ONE
Static value 11 for Server |
|
static final
Server |
ONE_ZERO
Static value 10 for Server |
|
static final
Server |
ONE_ZERO_TWO
Static value 10.2 for Server |
|
static final
Server |
ONE_ZERO_ZERO
Static value 10.0 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
NINE_FIVE
public static final ServerVersion NINE_FIVE
Static value 9.5 for ServerVersion.
NINE_SIX
public static final ServerVersion NINE_SIX
Static value 9.6 for ServerVersion.
ONE_ONE
public static final ServerVersion ONE_ONE
Static value 11 for ServerVersion.
ONE_ZERO
public static final ServerVersion ONE_ZERO
Static value 10 for ServerVersion.
ONE_ZERO_TWO
public static final ServerVersion ONE_ZERO_TWO
Static value 10.2 for ServerVersion.
ONE_ZERO_ZERO
public static final ServerVersion ONE_ZERO_ZERO
Static value 10.0 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<ServerVersion> values()
Gets known ServerVersion values.
Returns: