Class BaseSearchOptions<T extends BaseSearchOptions<T>>

java.lang.Object
com.azure.maps.search.models.BaseSearchOptions<T>
Direct Known Subclasses:
BaseSearchPointOfInterestOptions, SearchAddressOptions, SearchStructuredAddressOptions

public abstract class BaseSearchOptions<T extends BaseSearchOptions<T>> extends Object
Class holding optional parameters for Search.
  • Constructor Details

    • BaseSearchOptions

      public BaseSearchOptions()
  • Method Details

    • getTop

      public Integer getTop()
      Returns the top value.
      Returns:
      the top value.
    • getSkip

      public Integer getSkip()
      Returns the skip value.
      Returns:
      the skip value.
    • getCountryFilter

      public List<String> getCountryFilter()
      Returns the country filter.
      Returns:
      the country filter.
    • getRadiusInMeters

      public Integer getRadiusInMeters()
      Returns the radius in meters.
      Returns:
      the radius in meters.
    • getBoundingBox

      public Optional<com.azure.core.models.GeoBoundingBox> getBoundingBox()
      Returns the bounding box.
      Returns:
      the bounding box.
    • getLanguage

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

      public LocalizedMapView getLocalizedMapView()
      Returns the localized map view.
      Returns:
      the localized map view.
    • setTop

      public T setTop(Integer top)
      Sets the top value.
      Parameters:
      top - the top value.
      Returns:
      a reference to this T class.
    • setSkip

      public T setSkip(Integer skip)
      Sets the skip value.
      Parameters:
      skip - the skip value.
      Returns:
      a reference to this T class.
    • setCountryFilter

      public T setCountryFilter(List<String> countryFilter)
      Sets the country filter.
      Parameters:
      countryFilter - the country filter.
      Returns:
      a reference to this T class.
    • setRadiusInMeters

      public T setRadiusInMeters(Integer radiusInMeters)
      Sets the radius in meters.
      Parameters:
      radiusInMeters - the radius in meters.
      Returns:
      a reference to this T class.
    • setGeoBoundingBox

      public T setGeoBoundingBox(com.azure.core.models.GeoBoundingBox box)
      Sets the bounding box.
      Parameters:
      box - the bounding box.
      Returns:
      a reference to this T class.
    • setLanguage

      public T setLanguage(String language)
      Sets the language.
      Parameters:
      language - the language.
      Returns:
      a reference to this T class.
    • setLocalizedMapView

      public T setLocalizedMapView(LocalizedMapView localizedMapView)
      Sets the localized map view.
      Parameters:
      localizedMapView - the localized map view.
      Returns:
      a reference to this T class.