Interface SearchTextFilter.Builder

    • Method Detail

      • boundingBox

        SearchTextFilter.Builder boundingBox​(Collection<Double> boundingBox)

        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:
        boundingBox - 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.
      • boundingBox

        SearchTextFilter.Builder boundingBox​(Double... boundingBox)

        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:
        boundingBox - 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.
      • circle

        SearchTextFilter.Builder circle​(FilterCircle circle)
        Sets the value of the Circle property for this object.
        Parameters:
        circle - The new value for the Circle property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeCountries

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

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