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

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

Overview

The weight constraint for the route.

Unit: ‘Kilograms`

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The type of constraint.

Returns:

  • (String)


5937
5938
5939
5940
5941
5942
# File 'lib/aws-sdk-georoutes/types.rb', line 5937

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

#valueInteger

The constraint value.

Unit: ‘Kilograms`

Returns:

  • (Integer)


5937
5938
5939
5940
5941
5942
# File 'lib/aws-sdk-georoutes/types.rb', line 5937

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