Class ServerState
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ServerState>
-
- com.azure.resourcemanager.mysql.models.ServerState
-
public final class ServerState extends com.azure.core.util.ExpandableStringEnum<ServerState>
Defines values for ServerState.
-
-
Field Summary
Fields Modifier and Type Field Description static ServerStateDISABLEDStatic value Disabled for ServerState.static ServerStateDROPPINGStatic value Dropping for ServerState.static ServerStateINACCESSIBLEStatic value Inaccessible for ServerState.static ServerStateREADYStatic value Ready for ServerState.
-
Constructor Summary
Constructors Constructor Description ServerState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerStatefromString(String name)Creates or finds a ServerState from its string representation.static Collection<ServerState>values()
-
-
-
Field Detail
-
READY
public static final ServerState READY
Static value Ready for ServerState.
-
DROPPING
public static final ServerState DROPPING
Static value Dropping for ServerState.
-
DISABLED
public static final ServerState DISABLED
Static value Disabled for ServerState.
-
INACCESSIBLE
public static final ServerState INACCESSIBLE
Static value Inaccessible for ServerState.
-
-
Method Detail
-
fromString
public static ServerState fromString(String name)
Creates or finds a ServerState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ServerState.
-
values
public static Collection<ServerState> values()
- Returns:
- known ServerState values.
-
-