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)


5922
5923
5924
5925
5926
5927
# File 'lib/aws-sdk-georoutes/types.rb', line 5922

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

#valueInteger

The constraint value.

Unit: ‘Kilograms`

Returns:

  • (Integer)


5922
5923
5924
5925
5926
5927
# File 'lib/aws-sdk-georoutes/types.rb', line 5922

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