ConnectionStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. ConnectionStatus
- com.
- com.
public final class ConnectionStatus
extends ExpandableStringEnum<ConnectionStatus>
The connection status.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Connection |
CONNECTED
Static value Connected for Connection |
static final
Connection |
DEGRADED
Static value Degraded for Connection |
static final
Connection |
DISCONNECTED
Static value Disconnected for Connection |
static final
Connection |
UNKNOWN
Static value Unknown for Connection |
Constructor Summary
Constructor | Description |
---|---|
ConnectionStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromString(String name)
Creates or finds a Connection |
static
Collection<Connection |
values()
Gets known Connection |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONNECTED
public static final ConnectionStatus CONNECTED
Static value Connected for ConnectionStatus.
DEGRADED
public static final ConnectionStatus DEGRADED
Static value Degraded for ConnectionStatus.
DISCONNECTED
public static final ConnectionStatus DISCONNECTED
Static value Disconnected for ConnectionStatus.
UNKNOWN
public static final ConnectionStatus UNKNOWN
Static value Unknown for ConnectionStatus.
Constructor Details
ConnectionStatus
@Deprecated
public ConnectionStatus()
Deprecated
Creates a new instance of ConnectionStatus value.
Method Details
fromString
public static ConnectionStatus fromString(String name)
Creates or finds a ConnectionStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ConnectionStatus values.
Returns: