Class ServerState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerState>
com.azure.resourcemanager.mariadb.models.ServerState
A state of a server that is visible to user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerState
Static value Disabled for ServerState.static final ServerState
Static value Dropping for ServerState.static final ServerState
Static value Ready for ServerState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerState
fromString
(String name) Creates or finds a ServerState from its string representation.static Collection<ServerState>
values()
Gets known ServerState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
READY
Static value Ready for ServerState. -
DROPPING
Static value Dropping for ServerState. -
DISABLED
Static value Disabled for ServerState.
-
-
Constructor Details
-
ServerState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ServerState value.
-
-
Method Details
-
fromString
Creates or finds a ServerState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ServerState.
-
values
Gets known ServerState values.- Returns:
- known ServerState values.
-
fromString(String)
factory method.