Class ServerVersion
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ServerVersion>
-
- com.azure.resourcemanager.mysql.models.ServerVersion
-
public final class ServerVersion extends com.azure.core.util.ExpandableStringEnum<ServerVersion>
Defines values for ServerVersion.
-
-
Field Summary
Fields Modifier and Type Field Description static ServerVersionEIGHT_ZEROStatic value 8.0 for ServerVersion.static ServerVersionFIVE_SEVENStatic value 5.7 for ServerVersion.static ServerVersionFIVE_SIXStatic value 5.6 for ServerVersion.
-
Constructor Summary
Constructors Constructor Description ServerVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerVersionfromString(String name)Creates or finds a ServerVersion from its string representation.static Collection<ServerVersion>values()
-
-
-
Field Detail
-
FIVE_SIX
public static final ServerVersion FIVE_SIX
Static value 5.6 for ServerVersion.
-
FIVE_SEVEN
public static final ServerVersion FIVE_SEVEN
Static value 5.7 for ServerVersion.
-
EIGHT_ZERO
public static final ServerVersion EIGHT_ZERO
Static value 8.0 for ServerVersion.
-
-
Method Detail
-
fromString
public static ServerVersion fromString(String name)
Creates or finds a ServerVersion from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ServerVersion.
-
values
public static Collection<ServerVersion> values()
- Returns:
- known ServerVersion values.
-
-