Package com.cercalia.sdk.model.poi
Class PoiGeographicElement.Builder
java.lang.Object
com.cercalia.sdk.model.poi.PoiGeographicElement.Builder
- Enclosing class:
- PoiGeographicElement
Builder for
PoiGeographicElement.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newPoiGeographicElementinstance.countryCode(@Nullable String countryCode) houseNumber(@Nullable String houseNumber) localityCode(@Nullable String localityCode) municipality(@Nullable String municipality) municipalityCode(@Nullable String municipalityCode) regionCode(@Nullable String regionCode) streetCode(@Nullable String streetCode) subregionCode(@Nullable String subregionCode)
-
Method Details
-
houseNumber
- Parameters:
houseNumber- House number or address range.- Returns:
- This builder.
-
street
- Parameters:
street- Name of the street.- Returns:
- This builder.
-
streetCode
- Parameters:
streetCode- Unique identifier for the street.- Returns:
- This builder.
-
locality
- Parameters:
locality- Name of the locality.- Returns:
- This builder.
-
localityCode
- Parameters:
localityCode- Unique identifier for the locality.- Returns:
- This builder.
-
municipality
- Parameters:
municipality- Name of the municipality.- Returns:
- This builder.
-
municipalityCode
- Parameters:
municipalityCode- Unique identifier for the municipality.- Returns:
- This builder.
-
subregion
- Parameters:
subregion- Name of the subregion.- Returns:
- This builder.
-
subregionCode
- Parameters:
subregionCode- Unique identifier for the subregion.- Returns:
- This builder.
-
region
- Parameters:
region- Name of the region.- Returns:
- This builder.
-
regionCode
- Parameters:
regionCode- Unique identifier for the region.- Returns:
- This builder.
-
country
- Parameters:
country- Name of the country.- Returns:
- This builder.
-
countryCode
- Parameters:
countryCode- ISO code or unique identifier for the country.- Returns:
- This builder.
-
build
Builds a newPoiGeographicElementinstance.- Returns:
- The new instance.
-