Class BgpPeerState
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<BgpPeerState>
-
- com.azure.resourcemanager.network.models.BgpPeerState
-
public final class BgpPeerState extends com.azure.core.util.ExpandableStringEnum<BgpPeerState>
Defines values for BgpPeerState.
-
-
Field Summary
Fields Modifier and Type Field Description static BgpPeerStateCONNECTEDStatic value Connected for BgpPeerState.static BgpPeerStateCONNECTINGStatic value Connecting for BgpPeerState.static BgpPeerStateIDLEStatic value Idle for BgpPeerState.static BgpPeerStateSTOPPEDStatic value Stopped for BgpPeerState.static BgpPeerStateUNKNOWNStatic value Unknown for BgpPeerState.
-
Constructor Summary
Constructors Constructor Description BgpPeerState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BgpPeerStatefromString(String name)Creates or finds a BgpPeerState from its string representation.static Collection<BgpPeerState>values()
-
-
-
Field Detail
-
UNKNOWN
public static final BgpPeerState UNKNOWN
Static value Unknown for BgpPeerState.
-
STOPPED
public static final BgpPeerState STOPPED
Static value Stopped for BgpPeerState.
-
IDLE
public static final BgpPeerState IDLE
Static value Idle for BgpPeerState.
-
CONNECTING
public static final BgpPeerState CONNECTING
Static value Connecting for BgpPeerState.
-
CONNECTED
public static final BgpPeerState CONNECTED
Static value Connected for BgpPeerState.
-
-
Method Detail
-
fromString
public static BgpPeerState fromString(String name)
Creates or finds a BgpPeerState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BgpPeerState.
-
values
public static Collection<BgpPeerState> values()
- Returns:
- known BgpPeerState values.
-
-