Package com.azure.maps.search.models
Class BaseSearchOptions<T extends BaseSearchOptions<T>>
java.lang.Object
com.azure.maps.search.models.BaseSearchOptions<T>
- Direct Known Subclasses:
BaseSearchPointOfInterestOptions
,SearchAddressOptions
,SearchStructuredAddressOptions
Class holding optional parameters for Search.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.azure.core.models.GeoBoundingBox>
Returns the bounding box.Returns the country filter.Returns the language.Returns the localized map view.Returns the radius in meters.getSkip()
Returns the skip value.getTop()
Returns the top value.setCountryFilter
(List<String> countryFilter) Sets the country filter.setGeoBoundingBox
(com.azure.core.models.GeoBoundingBox box) Sets the bounding box.setLanguage
(String language) Sets the language.setLocalizedMapView
(LocalizedMapView localizedMapView) Sets the localized map view.setRadiusInMeters
(Integer radiusInMeters) Sets the radius in meters.Sets the skip value.Sets the top value.
-
Constructor Details
-
BaseSearchOptions
public BaseSearchOptions()
-
-
Method Details
-
getTop
Returns the top value.- Returns:
- the top value.
-
getSkip
Returns the skip value.- Returns:
- the skip value.
-
getCountryFilter
Returns the country filter.- Returns:
- the country filter.
-
getRadiusInMeters
Returns the radius in meters.- Returns:
- the radius in meters.
-
getBoundingBox
Returns the bounding box.- Returns:
- the bounding box.
-
getLanguage
Returns the language.- Returns:
- the language.
-
getLocalizedMapView
Returns the localized map view.- Returns:
- the localized map view.
-
setTop
Sets the top value.- Parameters:
top
- the top value.- Returns:
- a reference to this
T
class.
-
setSkip
Sets the skip value.- Parameters:
skip
- the skip value.- Returns:
- a reference to this
T
class.
-
setCountryFilter
Sets the country filter.- Parameters:
countryFilter
- the country filter.- Returns:
- a reference to this
T
class.
-
setRadiusInMeters
Sets the radius in meters.- Parameters:
radiusInMeters
- the radius in meters.- Returns:
- a reference to this
T
class.
-
setGeoBoundingBox
Sets the bounding box.- Parameters:
box
- the bounding box.- Returns:
- a reference to this
T
class.
-
setLanguage
Sets the language.- Parameters:
language
- the language.- Returns:
- a reference to this
T
class.
-
setLocalizedMapView
Sets the localized map view.- Parameters:
localizedMapView
- the localized map view.- Returns:
- a reference to this
T
class.
-