Class MapsSearchAddress

java.lang.Object
com.azure.maps.search.models.MapsSearchAddress

public final class MapsSearchAddress extends Object
The address of the result.
  • Constructor Details

    • MapsSearchAddress

      public MapsSearchAddress()
  • Method Details

    • getBuildingNumber

      public String getBuildingNumber()
      Get the buildingNumber property: The building number on the street. DEPRECATED, use streetNumber instead.
      Returns:
      the buildingNumber value.
    • getStreet

      public String getStreet()
      Get the street property: The street name. DEPRECATED, use streetName instead.
      Returns:
      the street value.
    • getCrossStreet

      public String getCrossStreet()
      Get the crossStreet property: The name of the street being crossed.
      Returns:
      the crossStreet value.
    • getStreetNumber

      public String getStreetNumber()
      Get the streetNumber property: The building number on the street.
      Returns:
      the streetNumber value.
    • getRouteNumbers

      public List<String> getRouteNumbers()
      Get the routeNumbers property: The codes used to unambiguously identify the street.
      Returns:
      the routeNumbers value.
    • getStreetName

      public String getStreetName()
      Get the streetName property: The street name.
      Returns:
      the streetName value.
    • getStreetNameAndNumber

      public String getStreetNameAndNumber()
      Get the streetNameAndNumber property: The street name and number.
      Returns:
      the streetNameAndNumber value.
    • getMunicipality

      public String getMunicipality()
      Get the municipality property: City / Town.
      Returns:
      the municipality value.
    • getMunicipalitySubdivision

      public String getMunicipalitySubdivision()
      Get the municipalitySubdivision property: Sub / Super City.
      Returns:
      the municipalitySubdivision value.
    • getCountryTertiarySubdivision

      public String getCountryTertiarySubdivision()
      Get the countryTertiarySubdivision property: Named Area.
      Returns:
      the countryTertiarySubdivision value.
    • getCountrySecondarySubdivision

      public String getCountrySecondarySubdivision()
      Get the countrySecondarySubdivision property: County.
      Returns:
      the countrySecondarySubdivision value.
    • getCountrySubdivision

      public String getCountrySubdivision()
      Get the countrySubdivision property: State or Province.
      Returns:
      the countrySubdivision value.
    • getPostalCode

      public String getPostalCode()
      Get the postalCode property: Postal Code / Zip Code.
      Returns:
      the postalCode value.
    • getExtendedPostalCode

      public String getExtendedPostalCode()
      Get the extendedPostalCode property: Extended postal code (availability is dependent on the region).
      Returns:
      the extendedPostalCode value.
    • getCountryCode

      public String getCountryCode()
      Get the countryCode property: Country (Note: This is a two-letter code, not a country name.).
      Returns:
      the countryCode value.
    • getCountry

      public String getCountry()
      Get the country property: Country name.
      Returns:
      the country value.
    • getCountryCodeIso3

      public String getCountryCodeIso3()
      Get the countryCodeISO3 property: ISO alpha-3 country code.
      Returns:
      the countryCodeISO3 value.
    • getFreeformAddress

      public String getFreeformAddress()
      Get the freeformAddress property: An address line formatted according to the formatting rules of a Result's country of origin, or in the case of a country, its full country name.
      Returns:
      the freeformAddress value.
    • getCountrySubdivisionName

      public String getCountrySubdivisionName()
      Get the countrySubdivisionName property: The full name of a first level of country administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom.
      Returns:
      the countrySubdivisionName value.
    • getLocalName

      public String getLocalName()
      Get the localName property: An address component which represents the name of a geographic area or locality that groups a number of addressable objects for addressing purposes, without being an administrative unit. This field is used to build the `freeformAddress` property.
      Returns:
      the localName value.
    • getBoundingBox

      public com.azure.core.models.GeoBoundingBox getBoundingBox()
      Get the boundingBox property: The bounding box of the location.
      Returns:
      the boundingBox value.