Interface TruckDimensions.Builder

    • Method Detail

      • height

        TruckDimensions.Builder height​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • length

        TruckDimensions.Builder length​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        TruckDimensions.Builder unit​(String unit)

        Specifies the unit of measurement for the truck dimensions.

        Default Value: Meters

        Parameters:
        unit - Specifies the unit of measurement for the truck dimensions.

        Default Value: Meters

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DimensionUnit, DimensionUnit
      • unit

        TruckDimensions.Builder unit​(DimensionUnit unit)

        Specifies the unit of measurement for the truck dimensions.

        Default Value: Meters

        Parameters:
        unit - Specifies the unit of measurement for the truck dimensions.

        Default Value: Meters

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DimensionUnit, DimensionUnit
      • width

        TruckDimensions.Builder width​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.