Interface RelatedPlace.Builder

  • Method Details

    • placeId

      RelatedPlace.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.
    • placeType

      RelatedPlace.Builder placeType(String placeType)

      A PlaceType is a category that the result place must belong to.

      Parameters:
      placeType - A PlaceType is a category that the result place must belong to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • placeType

      RelatedPlace.Builder placeType(PlaceType placeType)

      A PlaceType is a category that the result place must belong to.

      Parameters:
      placeType - A PlaceType is a category that the result place must belong to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      RelatedPlace.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 RelatedPlace.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

      RelatedPlace.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

      RelatedPlace.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.
    • accessPoints

      RelatedPlace.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

      RelatedPlace.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

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