Interface GeocodeFilter.Builder

    • Method Detail

      • includeCountries

        GeocodeFilter.Builder includeCountries​(Collection<String> includeCountries)

        A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.

        Parameters:
        includeCountries - A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeCountries

        GeocodeFilter.Builder includeCountries​(String... includeCountries)

        A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.

        Parameters:
        includeCountries - A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includePlaceTypesWithStrings

        GeocodeFilter.Builder includePlaceTypesWithStrings​(Collection<String> includePlaceTypes)

        The included place types.

        Parameters:
        includePlaceTypes - The included place types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includePlaceTypesWithStrings

        GeocodeFilter.Builder includePlaceTypesWithStrings​(String... includePlaceTypes)

        The included place types.

        Parameters:
        includePlaceTypes - The included place types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includePlaceTypes

        GeocodeFilter.Builder includePlaceTypes​(Collection<GeocodeFilterPlaceType> includePlaceTypes)

        The included place types.

        Parameters:
        includePlaceTypes - The included place types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includePlaceTypes

        GeocodeFilter.Builder includePlaceTypes​(GeocodeFilterPlaceType... includePlaceTypes)

        The included place types.

        Parameters:
        includePlaceTypes - The included place types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.