Class TrafficRoutingMethod
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TrafficRoutingMethod>
com.azure.resourcemanager.trafficmanager.models.TrafficRoutingMethod
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class TrafficRoutingMethod
extends com.azure.core.util.ExpandableStringEnum<TrafficRoutingMethod>
The traffic routing method of the Traffic Manager profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TrafficRoutingMethodStatic value Geographic for TrafficRoutingMethod.static final TrafficRoutingMethodStatic value MultiValue for TrafficRoutingMethod.static final TrafficRoutingMethodStatic value Performance for TrafficRoutingMethod.static final TrafficRoutingMethodStatic value Priority for TrafficRoutingMethod.static final TrafficRoutingMethodStatic value Subnet for TrafficRoutingMethod.static final TrafficRoutingMethodStatic value Weighted for TrafficRoutingMethod. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrafficRoutingMethodfromString(String name) Creates or finds a TrafficRoutingMethod from its string representation.static Collection<TrafficRoutingMethod> values()Gets known TrafficRoutingMethod values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PERFORMANCE
Static value Performance for TrafficRoutingMethod. -
PRIORITY
Static value Priority for TrafficRoutingMethod. -
WEIGHTED
Static value Weighted for TrafficRoutingMethod. -
GEOGRAPHIC
Static value Geographic for TrafficRoutingMethod. -
MULTI_VALUE
Static value MultiValue for TrafficRoutingMethod. -
SUBNET
Static value Subnet for TrafficRoutingMethod.
-
-
Constructor Details
-
TrafficRoutingMethod
Deprecated.Use thefromString(String)factory method.Creates a new instance of TrafficRoutingMethod value.
-
-
Method Details
-
fromString
Creates or finds a TrafficRoutingMethod from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding TrafficRoutingMethod.
-
values
Gets known TrafficRoutingMethod values.- Returns:
- known TrafficRoutingMethod values.
-
fromString(String)factory method.