Class SearchInsideGeometryOptions


public final class SearchInsideGeometryOptions extends BaseSearchGeometryOptions<SearchInsideGeometryOptions>
Class holding optional parameters for Geometry Search.
  • Constructor Details

    • SearchInsideGeometryOptions

      public SearchInsideGeometryOptions(String query)
      Create a new options object with query and Geometry.
      Parameters:
      query - query string
    • SearchInsideGeometryOptions

      public SearchInsideGeometryOptions(String query, com.azure.core.models.GeoObject geometry)
      Create a new options object with query and Geometry.
      Parameters:
      query - query string
      geometry - the GeoObject geometry inside which the search will be performed.
  • Method Details

    • getLanguage

      public String getLanguage()
      Returns the language.
      Returns:
      the language
    • getExtendedPostalCodesFor

      public List<SearchIndexes> getExtendedPostalCodesFor()
      Returns the extended postal codes.
      Returns:
      the extended postal codes used for search
    • getIndexFilter

      public List<SearchIndexes> getIndexFilter()
      Returns the index set.
      Returns:
      the index set.
    • getGeometry

      public com.azure.core.models.GeoObject getGeometry()
      Returns the geometry used for search.
      Returns:
      the geometry used for search.
    • setLanguage

      public SearchInsideGeometryOptions setLanguage(String language)
      Sets the language.
      Parameters:
      language - the language.
      Returns:
      a reference to this SearchInsideGeometryOptions
    • setExtendedPostalCodesFor

      public SearchInsideGeometryOptions setExtendedPostalCodesFor(List<SearchIndexes> extendedPostalCodesFor)
      Sets the extended postal codes.
      Parameters:
      extendedPostalCodesFor - the extended postal codes used for search
      Returns:
      a reference to this SearchInsideGeometryOptions
    • setIndexFilter

      public SearchInsideGeometryOptions setIndexFilter(List<SearchIndexes> indexFilter)
      Sets the index filter.
      Parameters:
      indexFilter - the index filter
      Returns:
      a reference to this SearchInsideGeometryOptions
    • setGeometry

      public SearchInsideGeometryOptions setGeometry(com.azure.core.models.GeoObject geometry)
      Sets the geometry
      Parameters:
      geometry - the geometry used for search.
      Returns:
      a reference to this SearchInsideGeometryOptions