Class ReverseSearchAddressOptions


public final class ReverseSearchAddressOptions extends BaseReverseSearchOptions<ReverseSearchAddressOptions>
Class holding optional parameters for Reverse Search.
  • Constructor Details

    • ReverseSearchAddressOptions

      public ReverseSearchAddressOptions(com.azure.core.models.GeoPosition coordinates)
      Builds fuzzy search options with query string and coordinates.
      Parameters:
      coordinates - The GeoPosition coordinates to be searched.
  • Method Details

    • includeSpeedLimit

      public Boolean includeSpeedLimit()
      Returns whether we should include the speed limit.
      Returns:
      whether we should include the speed limit.
    • getNumber

      public String getNumber()
      Returns the building number.
      Returns:
      the building number.
    • includeRoadUse

      public Boolean includeRoadUse()
      Returns whether we should include the road use.
      Returns:
      whether we should include the road use.
    • getRoadUse

      public List<RoadUseType> getRoadUse()
      Returns a list of road uses.
      Returns:
      a list of road uses.
    • allowFreeformNewline

      public Boolean allowFreeformNewline()
      Returns whether to allow free form newline.
      Returns:
      whether to allow free form newline.
    • includeMatchType

      public Boolean includeMatchType()
      Returns whether to include match type.
      Returns:
      whether to include match type.
    • getEntityType

      public GeographicEntityType getEntityType()
      Returns the entity type.
      Returns:
      the entity type.
    • setIncludeSpeedLimit

      public ReverseSearchAddressOptions setIncludeSpeedLimit(Boolean includeSpeedLimit)
      Sets whether to include the speed limit.
      Parameters:
      includeSpeedLimit - whether to include the speed limit.
      Returns:
      a reference to this ReverseSearchAddressOptions.
    • setNumber

      public ReverseSearchAddressOptions setNumber(String number)
      Sets the street number.
      Parameters:
      number - the street number.
      Returns:
      a reference to this ReverseSearchAddressOptions.
    • setIncludeRoadUse

      public ReverseSearchAddressOptions setIncludeRoadUse(Boolean includeRoadUse)
      Sets whether to include road use.
      Parameters:
      includeRoadUse - whether to include road use.
      Returns:
      a reference to this ReverseSearchAddressOptions.
    • setRoadUse

      public ReverseSearchAddressOptions setRoadUse(List<RoadUseType> roadUse)
      Sets a list of road use types.
      Parameters:
      roadUse - a list of road use types.
      Returns:
      a reference to this ReverseSearchAddressOptions.
    • setAllowFreeformNewline

      public ReverseSearchAddressOptions setAllowFreeformNewline(Boolean allowFreeformNewline)
      Sets whether to allow free form newline.
      Parameters:
      allowFreeformNewline - whether to allow free form newline.
      Returns:
      a reference to this ReverseSearchAddressOptions.
    • setIncludeMatchType

      public ReverseSearchAddressOptions setIncludeMatchType(Boolean includeMatchType)
      Sets whether to include the match type.
      Parameters:
      includeMatchType - whether to include the match type.
      Returns:
      a reference to this ReverseSearchAddressOptions.
    • setEntityType

      public ReverseSearchAddressOptions setEntityType(GeographicEntityType entityType)
      Sets the entity type.
      Parameters:
      entityType - the entity type.
      Returns:
      a reference to this ReverseSearchAddressOptions.