Class SearchNearbyPointsOfInterestOptions


public final class SearchNearbyPointsOfInterestOptions extends BaseSearchPointOfInterestOptions<SearchNearbyPointsOfInterestOptions>
Options for searching nearby points of interest.
  • Constructor Details

    • SearchNearbyPointsOfInterestOptions

      public SearchNearbyPointsOfInterestOptions(com.azure.core.models.GeoPosition coordinates)
      Builds search nearby options with coordinates.
      Parameters:
      coordinates - The GeoPosition coordinates to be searched.
  • Method Details

    • getExtendedPostalCodesFor

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

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