ServerState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. mariadb. models. ServerState
- com.
- com.
public final class ServerState
extends ExpandableStringEnum<ServerState>
A state of a server that is visible to user.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Server |
DISABLED
Static value Disabled for Server |
static final
Server |
DROPPING
Static value Dropping for Server |
static final
Server |
READY
Static value Ready for Server |
Constructor Summary
Constructor | Description |
---|---|
ServerState() |
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
DISABLED
public static final ServerState DISABLED
Static value Disabled for ServerState.
DROPPING
public static final ServerState DROPPING
Static value Dropping for ServerState.
READY
public static final ServerState READY
Static value Ready for ServerState.
Constructor Details
ServerState
@Deprecated
public ServerState()
Deprecated
Creates a new instance of ServerState value.
Method Details
fromString
public static ServerState fromString(String name)
Creates or finds a ServerState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ServerState values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for