ConnectionState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. ConnectionState
- com.
- com.
public final class ConnectionState
extends ExpandableStringEnum<ConnectionState>
The connection state.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Connection |
REACHABLE
Static value Reachable for Connection |
static final
Connection |
UNKNOWN
Static value Unknown for Connection |
static final
Connection |
UNREACHABLE
Static value Unreachable for Connection |
Constructor Summary
Constructor | Description |
---|---|
ConnectionState() |
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
REACHABLE
public static final ConnectionState REACHABLE
Static value Reachable for ConnectionState.
UNKNOWN
public static final ConnectionState UNKNOWN
Static value Unknown for ConnectionState.
UNREACHABLE
public static final ConnectionState UNREACHABLE
Static value Unreachable for ConnectionState.
Constructor Details
ConnectionState
@Deprecated
public ConnectionState()
Deprecated
Creates a new instance of ConnectionState value.
Method Details
fromString
public static ConnectionState fromString(String name)
Creates or finds a ConnectionState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ConnectionState values.
Returns:
Applies to
Azure SDK for Java