Class: Aws::GeoRoutes::Types::WaypointOptimizationConnection

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

Overview

This contains information such as distance and duration from one waypoint to the next waypoint in the sequence.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distanceInteger

Distance of the step.

Returns:

  • (Integer)


6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6240

class WaypointOptimizationConnection < Struct.new(
  :distance,
  :from,
  :rest_duration,
  :to,
  :travel_duration,
  :wait_duration)
  SENSITIVE = []
  include Aws::Structure
end

#fromString

contains the ID of the starting waypoint in this connection.

Returns:

  • (String)


6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6240

class WaypointOptimizationConnection < Struct.new(
  :distance,
  :from,
  :rest_duration,
  :to,
  :travel_duration,
  :wait_duration)
  SENSITIVE = []
  include Aws::Structure
end

#rest_durationInteger

Resting time before the driver can continue driving.

Returns:

  • (Integer)


6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6240

class WaypointOptimizationConnection < Struct.new(
  :distance,
  :from,
  :rest_duration,
  :to,
  :travel_duration,
  :wait_duration)
  SENSITIVE = []
  include Aws::Structure
end

#toString

Contains the ID of the ending waypoint in this connection.

Returns:

  • (String)


6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6240

class WaypointOptimizationConnection < Struct.new(
  :distance,
  :from,
  :rest_duration,
  :to,
  :travel_duration,
  :wait_duration)
  SENSITIVE = []
  include Aws::Structure
end

#travel_durationInteger

Total duration.

Unit: seconds

Returns:

  • (Integer)


6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6240

class WaypointOptimizationConnection < Struct.new(
  :distance,
  :from,
  :rest_duration,
  :to,
  :travel_duration,
  :wait_duration)
  SENSITIVE = []
  include Aws::Structure
end

#wait_durationInteger

Duration of a wait step.

Unit: seconds

Returns:

  • (Integer)


6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6240

class WaypointOptimizationConnection < Struct.new(
  :distance,
  :from,
  :rest_duration,
  :to,
  :travel_duration,
  :wait_duration)
  SENSITIVE = []
  include Aws::Structure
end