/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.geo.model; import java.io.Serializable; /** *
* 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
.
*
* 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. *
*
* Constraints:
* Range: 0.0 -
*/
private Double height;
/**
*
* 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. *
*
* Constraints:
* Range: 0.0 -
*/
private Double length;
/**
*
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Constraints:
* Allowed Values: Meters, Feet
*/
private String unit;
/**
*
* 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. *
*
* Constraints:
* Range: 0.0 -
*/
private Double width;
/**
*
* 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. *
*
* Constraints:
* Range: 0.0 -
*
* @return
* 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. *
** 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. *
*
* Constraints:
* Range: 0.0 -
*
* @param 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. *
** 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. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Range: 0.0 -
*
* @param 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. *
** 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. *
*
* Constraints:
* Range: 0.0 -
*
* @return
* 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. *
** 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. *
*
* Constraints:
* Range: 0.0 -
*
* @param 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. *
** 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. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Range: 0.0 -
*
* @param 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. *
** Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Constraints:
* Allowed Values: Meters, Feet
*
* @return
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Constraints:
* Allowed Values: Meters, Feet
*
* @param unit
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: Meters, Feet
*
* @param unit
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Constraints:
* Allowed Values: Meters, Feet
*
* @param unit
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: Meters, Feet
*
* @param unit
* Specifies the unit of measurement for the truck dimensions. *
*
* Default Value: Meters
*
* 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. *
*
* Constraints:
* Range: 0.0 -
*
* @return
* 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. *
** 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. *
*
* Constraints:
* Range: 0.0 -
*
* @param 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. *
** 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. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Range: 0.0 -
*
* @param 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. *
*