Class: Aws::LocationService::Types::CalculateRouteCarModeOptions

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

Overview

Note:

When making an API call, you may pass CalculateRouteCarModeOptions data as a hash:

{
  avoid_ferries: false,
  avoid_tolls: false,
}

Contains details about additional route preferences for requests that specify TravelMode as Car.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#avoid_ferriesBoolean

Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

Returns:

  • (Boolean)


605
606
607
608
609
610
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 605

class CalculateRouteCarModeOptions < Struct.new(
  :avoid_ferries,
  :avoid_tolls)
  SENSITIVE = []
  include Aws::Structure
end

#avoid_tollsBoolean

Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

Returns:

  • (Boolean)


605
606
607
608
609
610
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 605

class CalculateRouteCarModeOptions < Struct.new(
  :avoid_ferries,
  :avoid_tolls)
  SENSITIVE = []
  include Aws::Structure
end