Class: Aws::LocationService::Types::TruckWeight
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::LocationService::Types::TruckWeight
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-locationservice/types.rb
 
Overview
Contains details about the truck’s weight specifications. Used to avoid roads that can’t support or allow the total weight for requests that specify ‘TravelMode` as `Truck`.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #total  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The total weight of the truck.
 - 
  
    
      #unit  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unit of measurement to use for the truck weight.
 
Instance Attribute Details
#total ⇒ Float
The total weight of the truck.
- 
For example, ‘3500`.
 
^
      6540 6541 6542 6543 6544 6545  | 
    
      # File 'lib/aws-sdk-locationservice/types.rb', line 6540 class TruckWeight < Struct.new( :total, :unit) SENSITIVE = [] include Aws::Structure end  | 
  
#unit ⇒ String
The unit of measurement to use for the truck weight.
Default Value: ‘Kilograms`
      6540 6541 6542 6543 6544 6545  | 
    
      # File 'lib/aws-sdk-locationservice/types.rb', line 6540 class TruckWeight < Struct.new( :total, :unit) SENSITIVE = [] include Aws::Structure end  |