Class BaseSearchPointOfInterestOptions<T extends BaseSearchPointOfInterestOptions<T>>

java.lang.Object
com.azure.maps.search.models.BaseSearchOptions<T>
com.azure.maps.search.models.BaseSearchPointOfInterestOptions<T>
Direct Known Subclasses:
FuzzySearchOptions, SearchNearbyPointsOfInterestOptions, SearchPointOfInterestCategoryOptions, SearchPointOfInterestOptions

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

    • BaseSearchPointOfInterestOptions

      public BaseSearchPointOfInterestOptions()
  • Method Details

    • getCategoryFilter

      public List<Integer> getCategoryFilter()
      Returns the category filter.
      Returns:
      the category filter.
    • getBrandFilter

      public List<String> getBrandFilter()
      Returns the brand filter.
      Returns:
      the brand filter.
    • getElectricVehicleConnectorFilter

      public List<ElectricVehicleConnector> getElectricVehicleConnectorFilter()
      Returns the electric vehicle connect filter.
      Returns:
      the electric vehicle connect filter.
    • getOperatingHours

      public OperatingHoursRange getOperatingHours()
      Returns the operating hours.
      Returns:
      the operating hours.
    • getCoordinates

      public Optional<com.azure.core.models.GeoPosition> getCoordinates()
      Returns the coordinates.
      Returns:
      the coordinates.
    • setCategoryFilter

      public T setCategoryFilter(List<Integer> categoryFilter)
      Sets the category filter.
      Parameters:
      categoryFilter - the category filter.
      Returns:
      a reference to this T class
    • setBrandFilter

      public T setBrandFilter(List<String> brandFilter)
      Sets the brand filter.
      Parameters:
      brandFilter - the brand filter.
      Returns:
      a reference to this T class
    • setElectricVehicleConnectorFilter

      public T setElectricVehicleConnectorFilter(List<ElectricVehicleConnector> electricVehicleConnectorFilter)
      Sets the electric vehicle connector filter.
      Parameters:
      electricVehicleConnectorFilter - the electric vehicle connector filter.
      Returns:
      a reference to this T class
    • setOperatingHours

      public T setOperatingHours(OperatingHoursRange operatingHours)
      Sets the operating hours.
      Parameters:
      operatingHours - the operating hours.
      Returns:
      a reference to this T class
    • setCoordinates

      public T setCoordinates(com.azure.core.models.GeoPosition coordinates)
      Sets the coordinates.
      Parameters:
      coordinates - the coordinates.
      Returns:
      a reference to this T class