Package com.azure.maps.route.models
Class AlternativeRouteType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlternativeRouteType>
com.azure.maps.route.models.AlternativeRouteType
public final class AlternativeRouteType
extends com.azure.core.util.ExpandableStringEnum<AlternativeRouteType>
Defines values for AlternativeRouteType.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AlternativeRouteType
Static value anyRoute for AlternativeRouteType.static final AlternativeRouteType
Static value betterRoute for AlternativeRouteType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlternativeRouteType
fromString
(String name) Creates or finds a AlternativeRouteType from its string representation.static Collection<AlternativeRouteType>
values()
Gets known AlternativeRouteType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ANY_ROUTE
Static value anyRoute for AlternativeRouteType. -
BETTER_ROUTE
Static value betterRoute for AlternativeRouteType.
-
-
Constructor Details
-
AlternativeRouteType
public AlternativeRouteType()
-
-
Method Details
-
fromString
Creates or finds a AlternativeRouteType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AlternativeRouteType.
-
values
Gets known AlternativeRouteType values.- Returns:
- known AlternativeRouteType values.
-