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 Details

    • ANY_ROUTE

      public static final AlternativeRouteType ANY_ROUTE
      Static value anyRoute for AlternativeRouteType.
    • BETTER_ROUTE

      public static final AlternativeRouteType BETTER_ROUTE
      Static value betterRoute for AlternativeRouteType.
  • Constructor Details

    • AlternativeRouteType

      public AlternativeRouteType()
  • Method Details

    • fromString

      public static AlternativeRouteType fromString(String name)
      Creates or finds a AlternativeRouteType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AlternativeRouteType.
    • values

      public static Collection<AlternativeRouteType> values()
      Gets known AlternativeRouteType values.
      Returns:
      known AlternativeRouteType values.