Class ServerState
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ServerState>
-
- com.azure.resourcemanager.mysqlflexibleserver.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 ServerState
DISABLED
Static value Disabled for ServerState.static ServerState
DROPPING
Static value Dropping for ServerState.static ServerState
READY
Static value Ready for ServerState.static ServerState
STARTING
Static value Starting for ServerState.static ServerState
STOPPED
Static value Stopped for ServerState.static ServerState
STOPPING
Static value Stopping for ServerState.static ServerState
UPDATING
Static value Updating for ServerState.
-
Constructor Summary
Constructors Constructor Description ServerState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerState
fromString(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.
-
STARTING
public static final ServerState STARTING
Static value Starting for ServerState.
-
STOPPING
public static final ServerState STOPPING
Static value Stopping for ServerState.
-
STOPPED
public static final ServerState STOPPED
Static value Stopped for ServerState.
-
UPDATING
public static final ServerState UPDATING
Static value Updating 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.
-
-