Class StructuredAddress

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

public final class StructuredAddress extends Object
StructuredAddress parameter for Search.
  • Constructor Details

    • StructuredAddress

      public StructuredAddress(String countryCode)
      Create a Structure Address with country code.
      Parameters:
      countryCode - the country code, such as "US", "GB", "FR".
  • Method Details

    • getStreetNumber

      public String getStreetNumber()
      Returns the street number.
      Returns:
      the street number
    • getStreetName

      public String getStreetName()
      Returns the street name.
      Returns:
      the street name
    • getCrossStreet

      public String getCrossStreet()
      Returns the cross street name.
      Returns:
      the cross street name
    • getMunicipality

      public String getMunicipality()
      Returns the municipality.
      Returns:
      the municipality
    • getMunicipalitySubdivision

      public String getMunicipalitySubdivision()
      Returns the municipality subdivision.
      Returns:
      the municipality subdivision.
    • getCountryTertiarySubdivision

      public String getCountryTertiarySubdivision()
      Returns the country tertiary subdivision.
      Returns:
      the country tertiary subdivision
    • getCountrySecondarySubdivision

      public String getCountrySecondarySubdivision()
      Returns the country secondary subdivision.
      Returns:
      the country secondary subdivision
    • getCountrySubdivision

      public String getCountrySubdivision()
      Returns the country subdivision.
      Returns:
      the country subdivision
    • getCountryCode

      public String getCountryCode()
      Returns the country code.
      Returns:
      the country code
    • getPostalCode

      public String getPostalCode()
      Returns the postal code.
      Returns:
      the postal code
    • setStreetNumber

      public StructuredAddress setStreetNumber(String streetNumber)
      Sets the street number.
      Parameters:
      streetNumber - the street number
      Returns:
      a reference to this StructuredAddress
    • setStreetName

      public StructuredAddress setStreetName(String streetName)
      Sets the street name.
      Parameters:
      streetName - the street name
      Returns:
      a reference to this StructuredAddress
    • setCrossStreet

      public StructuredAddress setCrossStreet(String crossStreet)
      Sets the cross street.
      Parameters:
      crossStreet - the cross street name
      Returns:
      a reference to this StructuredAddress
    • setMunicipality

      public StructuredAddress setMunicipality(String municipality)
      Sets the municipality.
      Parameters:
      municipality - the municipality
      Returns:
      a reference to this StructuredAddress
    • setMunicipalitySubdivision

      public StructuredAddress setMunicipalitySubdivision(String municipalitySubdivision)
      Sets the municipality subdivision.
      Parameters:
      municipalitySubdivision - the municipality subdivision
      Returns:
      a reference to this StructuredAddress
    • setCountryTertiarySubdivision

      public StructuredAddress setCountryTertiarySubdivision(String countryTertiarySubdivision)
      Sets the country tertiary subdivision.
      Parameters:
      countryTertiarySubdivision - the country tertiary subdivision
      Returns:
      a reference to this StructuredAddress
    • setCountrySecondarySubdivision

      public StructuredAddress setCountrySecondarySubdivision(String countrySecondarySubdivision)
      Sets the country secondary subdivision.
      Parameters:
      countrySecondarySubdivision - the country secondary subdivision
      Returns:
      a reference to this StructuredAddress
    • setCountrySubdivision

      public StructuredAddress setCountrySubdivision(String countrySubdivision)
      Sets the country subdivision.
      Parameters:
      countrySubdivision - the country subdivision
      Returns:
      a reference to this StructuredAddress
    • setPostalCode

      public StructuredAddress setPostalCode(String postalCode)
      Sets the postal code.
      Parameters:
      postalCode - the postal code.
      Returns:
      a reference to this StructuredAddress
    • setCountryCode

      public StructuredAddress setCountryCode(String countryCode)
      Sets the country code.
      Parameters:
      countryCode - the country code
      Returns:
      a reference to this StructuredAddress