Class: Aws::GeoRoutes::Types::RouteWeightConstraint

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

Overview

The weight constraint for the route.

Unit: kilograms

Constant Summary collapse

SENSITIVE =
[:value]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The type of constraint.

Returns:

  • (String)


8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 8926

class RouteWeightConstraint < Struct.new(
  :type,
  :value)
  SENSITIVE = [:value]
  include Aws::Structure
end

#valueInteger

The constraint value.

Unit: kilograms

Returns:

  • (Integer)


8926
8927
8928
8929
8930
8931
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 8926

class RouteWeightConstraint < Struct.new(
  :type,
  :value)
  SENSITIVE = [:value]
  include Aws::Structure
end