Package com.azure.maps.search.models
Class SearchInsideGeometryOptions
java.lang.Object
com.azure.maps.search.models.BaseSearchGeometryOptions<SearchInsideGeometryOptions>
com.azure.maps.search.models.SearchInsideGeometryOptions
public final class SearchInsideGeometryOptions
extends BaseSearchGeometryOptions<SearchInsideGeometryOptions>
Class holding optional parameters for Geometry Search.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new options object with query and Geometry.SearchInsideGeometryOptions
(String query, com.azure.core.models.GeoObject geometry) Create a new options object with query and Geometry. -
Method Summary
Modifier and TypeMethodDescriptionReturns the extended postal codes.com.azure.core.models.GeoObject
Returns the geometry used for search.Returns the index set.Returns the language.setExtendedPostalCodesFor
(List<SearchIndexes> extendedPostalCodesFor) Sets the extended postal codes.setGeometry
(com.azure.core.models.GeoObject geometry) Sets the geometrysetIndexFilter
(List<SearchIndexes> indexFilter) Sets the index filter.setLanguage
(String language) Sets the language.Methods inherited from class com.azure.maps.search.models.BaseSearchGeometryOptions
getCategoryFilter, getLocalizedMapView, getOperatingHours, getQuery, getTop, setCategoryFilter, setLocalizedMapView, setOperatingHours, setQuery, setTop
-
Constructor Details
-
SearchInsideGeometryOptions
Create a new options object with query and Geometry.- Parameters:
query
- query string
-
SearchInsideGeometryOptions
Create a new options object with query and Geometry.- Parameters:
query
- query stringgeometry
- theGeoObject
geometry inside which the search will be performed.
-
-
Method Details
-
getLanguage
Returns the language.- Returns:
- the language
-
getExtendedPostalCodesFor
Returns the extended postal codes.- Returns:
- the extended postal codes used for search
-
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
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
Sets the index filter.- Parameters:
indexFilter
- the index filter- Returns:
- a reference to this
SearchInsideGeometryOptions
-
setGeometry
Sets the geometry- Parameters:
geometry
- the geometry used for search.- Returns:
- a reference to this
SearchInsideGeometryOptions
-