Package com.azure.maps.search.models
Class StructuredAddress
java.lang.Object
com.azure.maps.search.models.StructuredAddress
StructuredAddress parameter for Search.
-
Constructor Summary
ConstructorsConstructorDescriptionStructuredAddress
(String countryCode) Create a Structure Address with country code. -
Method Summary
Modifier and TypeMethodDescriptionReturns the country code.Returns the country secondary subdivision.Returns the country subdivision.Returns the country tertiary subdivision.Returns the cross street name.Returns the municipality.Returns the municipality subdivision.Returns the postal code.Returns the street name.Returns the street number.setCountryCode
(String countryCode) Sets the country code.setCountrySecondarySubdivision
(String countrySecondarySubdivision) Sets the country secondary subdivision.setCountrySubdivision
(String countrySubdivision) Sets the country subdivision.setCountryTertiarySubdivision
(String countryTertiarySubdivision) Sets the country tertiary subdivision.setCrossStreet
(String crossStreet) Sets the cross street.setMunicipality
(String municipality) Sets the municipality.setMunicipalitySubdivision
(String municipalitySubdivision) Sets the municipality subdivision.setPostalCode
(String postalCode) Sets the postal code.setStreetName
(String streetName) Sets the street name.setStreetNumber
(String streetNumber) Sets the street number.
-
Constructor Details
-
StructuredAddress
Create a Structure Address with country code.- Parameters:
countryCode
- the country code, such as "US", "GB", "FR".
-
-
Method Details
-
getStreetNumber
Returns the street number.- Returns:
- the street number
-
getStreetName
Returns the street name.- Returns:
- the street name
-
getCrossStreet
Returns the cross street name.- Returns:
- the cross street name
-
getMunicipality
Returns the municipality.- Returns:
- the municipality
-
getMunicipalitySubdivision
Returns the municipality subdivision.- Returns:
- the municipality subdivision.
-
getCountryTertiarySubdivision
Returns the country tertiary subdivision.- Returns:
- the country tertiary subdivision
-
getCountrySecondarySubdivision
Returns the country secondary subdivision.- Returns:
- the country secondary subdivision
-
getCountrySubdivision
Returns the country subdivision.- Returns:
- the country subdivision
-
getCountryCode
Returns the country code.- Returns:
- the country code
-
getPostalCode
Returns the postal code.- Returns:
- the postal code
-
setStreetNumber
Sets the street number.- Parameters:
streetNumber
- the street number- Returns:
- a reference to this
StructuredAddress
-
setStreetName
Sets the street name.- Parameters:
streetName
- the street name- Returns:
- a reference to this
StructuredAddress
-
setCrossStreet
Sets the cross street.- Parameters:
crossStreet
- the cross street name- Returns:
- a reference to this
StructuredAddress
-
setMunicipality
Sets the municipality.- Parameters:
municipality
- the municipality- Returns:
- a reference to this
StructuredAddress
-
setMunicipalitySubdivision
Sets the municipality subdivision.- Parameters:
municipalitySubdivision
- the municipality subdivision- Returns:
- a reference to this
StructuredAddress
-
setCountryTertiarySubdivision
Sets the country tertiary subdivision.- Parameters:
countryTertiarySubdivision
- the country tertiary subdivision- Returns:
- a reference to this
StructuredAddress
-
setCountrySecondarySubdivision
Sets the country secondary subdivision.- Parameters:
countrySecondarySubdivision
- the country secondary subdivision- Returns:
- a reference to this
StructuredAddress
-
setCountrySubdivision
Sets the country subdivision.- Parameters:
countrySubdivision
- the country subdivision- Returns:
- a reference to this
StructuredAddress
-
setPostalCode
Sets the postal code.- Parameters:
postalCode
- the postal code.- Returns:
- a reference to this
StructuredAddress
-
setCountryCode
Sets the country code.- Parameters:
countryCode
- the country code- Returns:
- a reference to this
StructuredAddress
-