Class LegacyPeeringsKind
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LegacyPeeringsKind>
com.azure.resourcemanager.peering.models.LegacyPeeringsKind
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class LegacyPeeringsKind
extends com.azure.core.util.ExpandableStringEnum<LegacyPeeringsKind>
Defines values for LegacyPeeringsKind.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LegacyPeeringsKindStatic value Direct for LegacyPeeringsKind.static final LegacyPeeringsKindStatic value Exchange for LegacyPeeringsKind. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LegacyPeeringsKindfromString(String name) Creates or finds a LegacyPeeringsKind from its string representation.static Collection<LegacyPeeringsKind> values()Gets known LegacyPeeringsKind values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DIRECT
Static value Direct for LegacyPeeringsKind. -
EXCHANGE
Static value Exchange for LegacyPeeringsKind.
-
-
Constructor Details
-
LegacyPeeringsKind
Deprecated.Use thefromString(String)factory method.Creates a new instance of LegacyPeeringsKind value.
-
-
Method Details
-
fromString
Creates or finds a LegacyPeeringsKind from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LegacyPeeringsKind.
-
values
Gets known LegacyPeeringsKind values.- Returns:
- known LegacyPeeringsKind values.
-
fromString(String)factory method.