Class PoiGeographicElement.Builder

java.lang.Object
com.cercalia.sdk.model.poi.PoiGeographicElement.Builder
Enclosing class:
PoiGeographicElement

public static final class PoiGeographicElement.Builder extends Object
  • Method Details

    • houseNumber

      public PoiGeographicElement.Builder houseNumber(@Nullable @Nullable String houseNumber)
      Parameters:
      houseNumber - House number or address range.
      Returns:
      This builder.
    • street

      public PoiGeographicElement.Builder street(@Nullable @Nullable String street)
      Parameters:
      street - Name of the street.
      Returns:
      This builder.
    • streetCode

      public PoiGeographicElement.Builder streetCode(@Nullable @Nullable String streetCode)
      Parameters:
      streetCode - Unique identifier for the street.
      Returns:
      This builder.
    • locality

      public PoiGeographicElement.Builder locality(@Nullable @Nullable String locality)
      Parameters:
      locality - Name of the locality.
      Returns:
      This builder.
    • localityCode

      public PoiGeographicElement.Builder localityCode(@Nullable @Nullable String localityCode)
      Parameters:
      localityCode - Unique identifier for the locality.
      Returns:
      This builder.
    • municipality

      public PoiGeographicElement.Builder municipality(@Nullable @Nullable String municipality)
      Parameters:
      municipality - Name of the municipality.
      Returns:
      This builder.
    • municipalityCode

      public PoiGeographicElement.Builder municipalityCode(@Nullable @Nullable String municipalityCode)
      Parameters:
      municipalityCode - Unique identifier for the municipality.
      Returns:
      This builder.
    • subregion

      public PoiGeographicElement.Builder subregion(@Nullable @Nullable String subregion)
      Parameters:
      subregion - Name of the subregion.
      Returns:
      This builder.
    • subregionCode

      public PoiGeographicElement.Builder subregionCode(@Nullable @Nullable String subregionCode)
      Parameters:
      subregionCode - Unique identifier for the subregion.
      Returns:
      This builder.
    • region

      public PoiGeographicElement.Builder region(@Nullable @Nullable String region)
      Parameters:
      region - Name of the region.
      Returns:
      This builder.
    • regionCode

      public PoiGeographicElement.Builder regionCode(@Nullable @Nullable String regionCode)
      Parameters:
      regionCode - Unique identifier for the region.
      Returns:
      This builder.
    • country

      public PoiGeographicElement.Builder country(@Nullable @Nullable String country)
      Parameters:
      country - Name of the country.
      Returns:
      This builder.
    • countryCode

      public PoiGeographicElement.Builder countryCode(@Nullable @Nullable String countryCode)
      Parameters:
      countryCode - ISO code or unique identifier for the country.
      Returns:
      This builder.
    • build

      public PoiGeographicElement build()
      Builds a new PoiGeographicElement instance.
      Returns:
      The new instance.