Class ServerState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerState>
com.azure.resourcemanager.mariadb.models.ServerState

public final class ServerState extends com.azure.core.util.ExpandableStringEnum<ServerState>
A state of a server that is visible to user.
  • Field Details

    • 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.
  • Constructor Details

    • ServerState

      @Deprecated public ServerState()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding ServerState.
    • values

      public static Collection<ServerState> values()
      Gets known ServerState values.
      Returns:
      known ServerState values.