Class: Aws::GeoRoutes::Types::Route

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

Overview

The route.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#legsArray<Types::RouteLeg>

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.

Returns:



1929
1930
1931
1932
1933
1934
1935
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1929

class Route < Struct.new(
  :legs,
  :major_road_labels,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end

#major_road_labelsArray<Types::RouteMajorRoadLabel>

Important labels including names and route numbers that differentiate the current route from the alternatives presented.

Returns:



1929
1930
1931
1932
1933
1934
1935
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1929

class Route < Struct.new(
  :legs,
  :major_road_labels,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end

#summaryTypes::RouteSummary

Summarized details of the leg.

Returns:



1929
1930
1931
1932
1933
1934
1935
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1929

class Route < Struct.new(
  :legs,
  :major_road_labels,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end