Interface CalculateIsolinesResponse.Builder

    • Method Detail

      • arrivalTime

        CalculateIsolinesResponse.Builder arrivalTime​(String arrivalTime)

        Time of arrival at the destination. This parameter is returned only if the Destination parameters was provided in the request.

        Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

        Examples:

        2020-04-22T17:57:24Z

        2020-04-22T17:57:24+02:00

        Parameters:
        arrivalTime - Time of arrival at the destination. This parameter is returned only if the Destination parameters was provided in the request.

        Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

        Examples:

        2020-04-22T17:57:24Z

        2020-04-22T17:57:24+02:00

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

        CalculateIsolinesResponse.Builder departureTime​(String departureTime)

        Time of departure from thr origin.

        Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

        Examples:

        2020-04-22T17:57:24Z

        2020-04-22T17:57:24+02:00

        Parameters:
        departureTime - Time of departure from thr origin.

        Time format:YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mm

        Examples:

        2020-04-22T17:57:24Z

        2020-04-22T17:57:24+02:00

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

        CalculateIsolinesResponse.Builder isolineGeometryFormat​(String isolineGeometryFormat)

        The format of the returned IsolineGeometry.

        Default Value:FlexiblePolyline

        Parameters:
        isolineGeometryFormat - The format of the returned IsolineGeometry.

        Default Value:FlexiblePolyline

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

        CalculateIsolinesResponse.Builder isolineGeometryFormat​(GeometryFormat isolineGeometryFormat)

        The format of the returned IsolineGeometry.

        Default Value:FlexiblePolyline

        Parameters:
        isolineGeometryFormat - The format of the returned IsolineGeometry.

        Default Value:FlexiblePolyline

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

        CalculateIsolinesResponse.Builder isolines​(Collection<Isoline> isolines)

        Calculated isolines and associated properties.

        Parameters:
        isolines - Calculated isolines and associated properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isolines

        CalculateIsolinesResponse.Builder isolines​(Isoline... isolines)

        Calculated isolines and associated properties.

        Parameters:
        isolines - Calculated isolines and associated properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pricingBucket

        CalculateIsolinesResponse.Builder pricingBucket​(String pricingBucket)

        The pricing bucket for which the query is charged at.

        Parameters:
        pricingBucket - The pricing bucket for which the query is charged at.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snappedDestination

        CalculateIsolinesResponse.Builder snappedDestination​(Collection<Double> snappedDestination)

        Snapped destination that was used for the Isoline calculation.

        Parameters:
        snappedDestination - Snapped destination that was used for the Isoline calculation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snappedDestination

        CalculateIsolinesResponse.Builder snappedDestination​(Double... snappedDestination)

        Snapped destination that was used for the Isoline calculation.

        Parameters:
        snappedDestination - Snapped destination that was used for the Isoline calculation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snappedOrigin

        CalculateIsolinesResponse.Builder snappedOrigin​(Collection<Double> snappedOrigin)

        Snapped origin that was used for the Isoline calculation.

        Parameters:
        snappedOrigin - Snapped origin that was used for the Isoline calculation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snappedOrigin

        CalculateIsolinesResponse.Builder snappedOrigin​(Double... snappedOrigin)

        Snapped origin that was used for the Isoline calculation.

        Parameters:
        snappedOrigin - Snapped origin that was used for the Isoline calculation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.