Interface SearchTextResultItem.Builder

    • Method Detail

      • placeId

        SearchTextResultItem.Builder placeId​(String placeId)

        The PlaceId of the place you wish to receive the information for.

        Parameters:
        placeId - The PlaceId of the place you wish to receive the information for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • placeType

        SearchTextResultItem.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, PlaceType
      • placeType

        SearchTextResultItem.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:
        PlaceType, PlaceType
      • title

        SearchTextResultItem.Builder title​(String title)

        The item's title.

        Parameters:
        title - The item's title.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • address

        SearchTextResultItem.Builder address​(Address address)

        The place's address.

        Parameters:
        address - The place's address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressNumberCorrected

        SearchTextResultItem.Builder addressNumberCorrected​(Boolean addressNumberCorrected)

        Boolean indicating if the address provided has been corrected.

        Parameters:
        addressNumberCorrected - Boolean indicating if the address provided has been corrected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • position

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

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

        SearchTextResultItem.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.
      • mapView

        SearchTextResultItem.Builder mapView​(Collection<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 4 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 4 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

        SearchTextResultItem.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 4 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 4 coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

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

        SearchTextResultItem.Builder categories​(Collection<Category> categories)

        Categories of results that results must belong to.

        Parameters:
        categories - Categories of results that results must belong to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • categories

        SearchTextResultItem.Builder categories​(Category... categories)

        Categories of results that results must belong to.

        Parameters:
        categories - Categories of results that results must belong to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • foodTypes

        SearchTextResultItem.Builder foodTypes​(Collection<FoodType> foodTypes)

        List of food types offered by this result.

        Parameters:
        foodTypes - List of food types offered by this result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • foodTypes

        SearchTextResultItem.Builder foodTypes​(FoodType... foodTypes)

        List of food types offered by this result.

        Parameters:
        foodTypes - List of food types offered by this result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • businessChains

        SearchTextResultItem.Builder businessChains​(Collection<BusinessChain> businessChains)

        The Business Chains associated with the place.

        Parameters:
        businessChains - The Business Chains associated with the place.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • businessChains

        SearchTextResultItem.Builder businessChains​(BusinessChain... businessChains)

        The Business Chains associated with the place.

        Parameters:
        businessChains - The Business Chains associated with the place.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contacts

        SearchTextResultItem.Builder contacts​(Contacts contacts)

        List of potential contact methods for the result/place.

        Parameters:
        contacts - List of potential contact methods for the result/place.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openingHours

        SearchTextResultItem.Builder openingHours​(Collection<OpeningHours> openingHours)

        List of opening hours objects.

        Parameters:
        openingHours - List of opening hours objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openingHours

        SearchTextResultItem.Builder openingHours​(OpeningHours... openingHours)

        List of opening hours objects.

        Parameters:
        openingHours - List of opening hours objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPoints

        SearchTextResultItem.Builder accessPoints​(Collection<AccessPoint> accessPoints)

        Position of the access point represent by longitude and latitude.

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

        SearchTextResultItem.Builder accessPoints​(AccessPoint... accessPoints)

        Position of the access point represent by longitude and latitude.

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

        SearchTextResultItem.Builder accessRestrictions​(Collection<AccessRestriction> accessRestrictions)

        Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.

        Parameters:
        accessRestrictions - Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessRestrictions

        SearchTextResultItem.Builder accessRestrictions​(AccessRestriction... accessRestrictions)

        Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.

        Parameters:
        accessRestrictions - Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessRestrictions

        SearchTextResultItem.Builder accessRestrictions​(Consumer<AccessRestriction.Builder>... accessRestrictions)

        Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #accessRestrictions(List).

        Parameters:
        accessRestrictions - a consumer that will call methods on AccessRestriction.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #accessRestrictions(java.util.Collection)
      • timeZone

        SearchTextResultItem.Builder timeZone​(TimeZone timeZone)

        The time zone in which the place is located.

        Parameters:
        timeZone - The time zone in which the place is located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • politicalView

        SearchTextResultItem.Builder politicalView​(String politicalView)

        The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.

        Parameters:
        politicalView - The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phonemes

        SearchTextResultItem.Builder phonemes​(PhonemeDetails phonemes)

        How the various components of the result's address are pronounced in various languages.

        Parameters:
        phonemes - How the various components of the result's address are pronounced in various languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.