Class SectionType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SectionType>
com.azure.maps.route.models.SectionType

public final class SectionType extends com.azure.core.util.ExpandableStringEnum<SectionType>
Defines values for SectionType.
  • Field Details

    • CAR_OR_TRAIN

      public static final SectionType CAR_OR_TRAIN
      Static value carTrain for SectionType.
    • COUNTRY

      public static final SectionType COUNTRY
      Static value country for SectionType.
    • FERRY

      public static final SectionType FERRY
      Static value ferry for SectionType.
    • MOTORWAY

      public static final SectionType MOTORWAY
      Static value motorway for SectionType.
    • PEDESTRIAN

      public static final SectionType PEDESTRIAN
      Static value pedestrian for SectionType.
    • TOLL_ROAD

      public static final SectionType TOLL_ROAD
      Static value tollRoad for SectionType.
    • TOLL_VIGNETTE

      public static final SectionType TOLL_VIGNETTE
      Static value tollVignette for SectionType.
    • TRAFFIC

      public static final SectionType TRAFFIC
      Static value traffic for SectionType.
    • TRAVEL_MODE

      public static final SectionType TRAVEL_MODE
      Static value travelMode for SectionType.
    • TUNNEL

      public static final SectionType TUNNEL
      Static value tunnel for SectionType.
    • CARPOOL

      public static final SectionType CARPOOL
      Static value carpool for SectionType.
    • URBAN

      public static final SectionType URBAN
      Static value urban for SectionType.
  • Constructor Details

    • SectionType

      public SectionType()
  • Method Details

    • fromString

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

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