Class: Aws::GeoRoutes::Types::RouteFerrySpan

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

Overview

Span computed for the requested SpanAdditionalFeatures.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#countryString

3 letter Country code corresponding to the Span.

Returns:

  • (String)


2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
# File 'lib/aws-sdk-georoutes/types.rb', line 2606

class RouteFerrySpan < Struct.new(
  :country,
  :distance,
  :duration,
  :geometry_offset,
  :names,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#distanceInteger

Distance of the computed span. This feature doesn’t split a span, but is always computed on a span split by other properties.

Returns:

  • (Integer)


2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
# File 'lib/aws-sdk-georoutes/types.rb', line 2606

class RouteFerrySpan < Struct.new(
  :country,
  :distance,
  :duration,
  :geometry_offset,
  :names,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#durationInteger

Duration of the computed span. This feature doesn’t split a span, but is always computed on a span split by other properties.

Unit: ‘seconds`

Returns:

  • (Integer)


2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
# File 'lib/aws-sdk-georoutes/types.rb', line 2606

class RouteFerrySpan < Struct.new(
  :country,
  :distance,
  :duration,
  :geometry_offset,
  :names,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#geometry_offsetInteger

Offset in the leg geometry corresponding to the start of this span.

Returns:

  • (Integer)


2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
# File 'lib/aws-sdk-georoutes/types.rb', line 2606

class RouteFerrySpan < Struct.new(
  :country,
  :distance,
  :duration,
  :geometry_offset,
  :names,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#namesArray<Types::LocalizedString>

Provides an array of names of the ferry span in available languages.

Returns:



2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
# File 'lib/aws-sdk-georoutes/types.rb', line 2606

class RouteFerrySpan < Struct.new(
  :country,
  :distance,
  :duration,
  :geometry_offset,
  :names,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

2-3 letter Region code corresponding to the Span. This is either a province or a state.

Returns:

  • (String)


2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
# File 'lib/aws-sdk-georoutes/types.rb', line 2606

class RouteFerrySpan < Struct.new(
  :country,
  :distance,
  :duration,
  :geometry_offset,
  :names,
  :region)
  SENSITIVE = []
  include Aws::Structure
end