Interface GeocodeQueryComponents.Builder

    • Method Detail

      • country

        GeocodeQueryComponents.Builder country​(String country)

        The alpha-2 or alpha-3 character code for the country that the results will be present in.

        Parameters:
        country - The alpha-2 or alpha-3 character code for the country that the results will be present in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        GeocodeQueryComponents.Builder region​(String region)

        The region or state results should be to be present in.

        Example: North Rhine-Westphalia.

        Parameters:
        region - The region or state results should be to be present in.

        Example: North Rhine-Westphalia.

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

        GeocodeQueryComponents.Builder subRegion​(String subRegion)

        The sub-region or county for which results should be present in.

        Parameters:
        subRegion - The sub-region or county for which results should be present in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • locality

        GeocodeQueryComponents.Builder locality​(String locality)

        City or locality results should be present in.

        Example: Vancouver.

        Parameters:
        locality - City or locality results should be present in.

        Example: Vancouver.

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

        GeocodeQueryComponents.Builder district​(String district)

        The district or division of a city the results should be present in.

        Parameters:
        district - The district or division of a city the results should be present in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • street

        GeocodeQueryComponents.Builder street​(String street)

        The name of the street results should be present in.

        Parameters:
        street - The name of the street results should be present in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressNumber

        GeocodeQueryComponents.Builder addressNumber​(String addressNumber)

        The house number or address results should have.

        Parameters:
        addressNumber - The house number or address results should have.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postalCode

        GeocodeQueryComponents.Builder postalCode​(String postalCode)

        An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.

        Parameters:
        postalCode - An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.