Class: Aws::GeoRoutes::Types::RouteLeg

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-georoutes/types.rb

Overview

A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ferry_leg_detailsTypes::RouteFerryLegDetails

FerryLegDetails is populated when the Leg type is Ferry, and provides additional information that is specific



2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end

#geometryTypes::RouteLegGeometry

Geometry of the area to be avoided.



2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end

#languageString

List of languages for instructions within steps in the response.

Returns:

  • (String)


2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end

#pedestrian_leg_detailsTypes::RoutePedestrianLegDetails

Details related to the pedestrian leg.



2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end

#travel_modeString

Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

Default Value: ‘Car`

Returns:

  • (String)


2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Type of the leg.

Returns:

  • (String)


2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end

#vehicle_leg_detailsTypes::RouteVehicleLegDetails

Details related to the vehicle leg.



2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aws-sdk-georoutes/types.rb', line 2770

class RouteLeg < Struct.new(
  :ferry_leg_details,
  :geometry,
  :language,
  :pedestrian_leg_details,
  :travel_mode,
  :type,
  :vehicle_leg_details)
  SENSITIVE = []
  include Aws::Structure
end