Interface RouteMatrixBoundaryGeometry.Builder

  • Method Details

    • autoCircle

      Provides the circle that was used while calculating the route.

      Parameters:
      autoCircle - Provides the circle that was used while calculating the route.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoCircle

      Provides the circle that was used while calculating the route.

      This is a convenience method that creates an instance of the RouteMatrixAutoCircle.Builder avoiding the need to create one manually via RouteMatrixAutoCircle.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to autoCircle(RouteMatrixAutoCircle).

      Parameters:
      autoCircle - a consumer that will call methods on RouteMatrixAutoCircle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • circle

      Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

      Parameters:
      circle - Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • circle

      Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

      This is a convenience method that creates an instance of the Circle.Builder avoiding the need to create one manually via Circle.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to circle(Circle).

      Parameters:
      circle - a consumer that will call methods on Circle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • boundingBox

      Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.

      Parameters:
      boundingBox - Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • boundingBox

      RouteMatrixBoundaryGeometry.Builder boundingBox(Double... boundingBox)

      Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.

      Parameters:
      boundingBox - Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polygon

      Geometry defined as a polygon with only one linear ring.

      Parameters:
      polygon - Geometry defined as a polygon with only one linear ring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polygon

      Geometry defined as a polygon with only one linear ring.

      Parameters:
      polygon - Geometry defined as a polygon with only one linear ring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.