@Generated(value="com.amazonaws:awsjavasdkcodegenerator") public class TruckDimensions extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads
that can't support or allow the specified dimensions for requests that specify TravelMode
as
Truck
.
Constructor and Description 

TruckDimensions() 
Modifier and Type  Method and Description 

TruckDimensions 
clone() 
boolean 
equals(Object obj) 
Double 
getHeight()
The height of the truck.

Double 
getLength()
The length of the truck.

String 
getUnit()
Specifies the unit of measurement for the truck dimensions.

Double 
getWidth()
The width of the truck.

int 
hashCode() 
void 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . 
void 
setHeight(Double height)
The height of the truck.

void 
setLength(Double length)
The length of the truck.

void 
setUnit(String unit)
Specifies the unit of measurement for the truck dimensions.

void 
setWidth(Double width)
The width of the truck.

String 
toString()
Returns a string representation of this object.

TruckDimensions 
withHeight(Double height)
The height of the truck.

TruckDimensions 
withLength(Double length)
The length of the truck.

TruckDimensions 
withUnit(DimensionUnit unit)
Specifies the unit of measurement for the truck dimensions.

TruckDimensions 
withUnit(String unit)
Specifies the unit of measurement for the truck dimensions.

TruckDimensions 
withWidth(Double width)
The width of the truck.

public void setHeight(Double height)
The height of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
height
 The height of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
public Double getHeight()
The height of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
public TruckDimensions withHeight(Double height)
The height of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
height
 The height of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
public void setLength(Double length)
The length of the truck.
For example, 15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
length
 The length of the truck.
For example, 15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
public Double getLength()
The length of the truck.
For example, 15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
For example, 15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
public TruckDimensions withLength(Double length)
The length of the truck.
For example, 15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
length
 The length of the truck.
For example, 15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
public void setUnit(String unit)
Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
unit
 Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
DimensionUnit
public String getUnit()
Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
Default Value: Meters
DimensionUnit
public TruckDimensions withUnit(String unit)
Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
unit
 Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
DimensionUnit
public TruckDimensions withUnit(DimensionUnit unit)
Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
unit
 Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
DimensionUnit
public void setWidth(Double width)
The width of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
width
 The width of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
public Double getWidth()
The width of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
public TruckDimensions withWidth(Double width)
The width of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
width
 The width of the truck.
For example, 4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
public String toString()
toString
in class Object
Object.toString()
public TruckDimensions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
 Implementation of ProtocolMarshaller
used to marshall this object's data.