ConnectionState Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.network.ConnectionState

public final class ConnectionState
extends com.microsoft.rest.ExpandableStringEnum<ConnectionState>

Defines values for ConnectionState.

Field Summary

Modifier and Type Field and Description
static final ConnectionState REACHABLE

Static value Reachable for ConnectionState.

static final ConnectionState UNKNOWN

Static value Unknown for ConnectionState.

static final ConnectionState UNREACHABLE

Static value Unreachable for ConnectionState.

Constructor Summary

Constructor Description
ConnectionState()

Method Summary

Modifier and Type Method and Description
static ConnectionState fromString(String name)

Creates or finds a ConnectionState from its string representation.

static java.util.Collection<ConnectionState> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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

public ConnectionState()

Method Details

fromString

public static ConnectionState fromString(String name)

Creates or finds a ConnectionState from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ConnectionState

values

public static Collection values()

Returns:

known ConnectionState values

Applies to