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