Interface Intersection.Builder

  • Method Details

    • placeId

      Intersection.Builder placeId(String placeId)

      The PlaceId of the place result.

      Parameters:
      placeId - The PlaceId of the place result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The localized display name of this result item based on request parameter language.

      Parameters:
      title - The localized display name of this result item based on request parameter language.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • address

      Intersection.Builder address(Address address)
      Sets the value of the Address property for this object.
      Parameters:
      address - The new value for the Address property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • address

      default Intersection.Builder address(Consumer<Address.Builder> address)
      Sets the value of the Address property for this object. This is a convenience method that creates an instance of the Address.Builder avoiding the need to create one manually via Address.builder().

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

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

      Intersection.Builder position(Collection<Double> position)

      The position, in longitude and latitude.

      Parameters:
      position - The position, in longitude and latitude.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      Intersection.Builder position(Double... position)

      The position, in longitude and latitude.

      Parameters:
      position - The position, in longitude and latitude.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • distance

      Intersection.Builder distance(Long distance)

      The distance in meters from the QueryPosition.

      Parameters:
      distance - The distance in meters from the QueryPosition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeDistance

      Intersection.Builder routeDistance(Long routeDistance)

      The distance from the routing position of the nearby address to the street result.

      Parameters:
      routeDistance - The distance from the routing position of the nearby address to the street result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mapView

      The bounding box enclosing the geometric shape (area or line) that an individual result covers.

      The bounding box formed is defined as a set of four coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

      Parameters:
      mapView - The bounding box enclosing the geometric shape (area or line) that an individual result covers.

      The bounding box formed is defined as a set of four coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

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

      Intersection.Builder mapView(Double... mapView)

      The bounding box enclosing the geometric shape (area or line) that an individual result covers.

      The bounding box formed is defined as a set of four coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

      Parameters:
      mapView - The bounding box enclosing the geometric shape (area or line) that an individual result covers.

      The bounding box formed is defined as a set of four coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

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

      Intersection.Builder accessPoints(Collection<AccessPoint> accessPoints)

      Position of the access point represented by longitude and latitude.

      Parameters:
      accessPoints - Position of the access point represented by longitude and latitude.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessPoints

      Intersection.Builder accessPoints(AccessPoint... accessPoints)

      Position of the access point represented by longitude and latitude.

      Parameters:
      accessPoints - Position of the access point represented by longitude and latitude.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessPoints

      Intersection.Builder accessPoints(Consumer<AccessPoint.Builder>... accessPoints)

      Position of the access point represented by longitude and latitude.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accessPoints(List<AccessPoint>).

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