public static interface Place.Builder extends SdkPojo, CopyableBuilder<Place.Builder,Place>
| Modifier and Type | Method and Description |
|---|---|
Place.Builder |
addressNumber(String addressNumber)
The numerical portion of an address, such as a building number.
|
Place.Builder |
country(String country)
A country/region specified using ISO 3166
3-digit country/region code.
|
default Place.Builder |
geometry(Consumer<PlaceGeometry.Builder> geometry)
Sets the value of the Geometry property for this object.
|
Place.Builder |
geometry(PlaceGeometry geometry)
Sets the value of the Geometry property for this object.
|
Place.Builder |
interpolated(Boolean interpolated)
True if the result is interpolated from other known places. |
Place.Builder |
label(String label)
The full name and address of the point of interest such as a city, region, or country.
|
Place.Builder |
municipality(String municipality)
A name for a local area, such as a city or town name.
|
Place.Builder |
neighborhood(String neighborhood)
The name of a community district.
|
Place.Builder |
postalCode(String postalCode)
A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of
identifying a location.
|
Place.Builder |
region(String region)
A name for an area or geographical division, such as a province or state name.
|
Place.Builder |
street(String street)
The name for a street or a road to identify a location.
|
Place.Builder |
subRegion(String subRegion)
A country, or an area that's part of a larger region.
|
default Place.Builder |
timeZone(Consumer<TimeZone.Builder> timeZone)
The time zone in which the
Place is located. |
Place.Builder |
timeZone(TimeZone timeZone)
The time zone in which the
Place is located. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPlace.Builder addressNumber(String addressNumber)
The numerical portion of an address, such as a building number.
addressNumber - The numerical portion of an address, such as a building number.Place.Builder country(String country)
A country/region specified using ISO 3166
3-digit country/region code. For example, CAN.
country - A country/region specified using ISO
3166 3-digit country/region code. For example, CAN.Place.Builder geometry(PlaceGeometry geometry)
geometry - The new value for the Geometry property for this object.default Place.Builder geometry(Consumer<PlaceGeometry.Builder> geometry)
PlaceGeometry.Builder avoiding the need
to create one manually via PlaceGeometry.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to geometry(PlaceGeometry).geometry - a consumer that will call methods on PlaceGeometry.Buildergeometry(PlaceGeometry)Place.Builder interpolated(Boolean interpolated)
True if the result is interpolated from other known places.
False if the Place is a known place.
Not returned when the partner does not provide the information.
For example, returns False for an address location that is found in the partner data, but
returns True if an address does not exist in the partner data and its location is calculated by
interpolating between other known addresses.
interpolated - True if the result is interpolated from other known places.
False if the Place is a known place.
Not returned when the partner does not provide the information.
For example, returns False for an address location that is found in the partner data, but
returns True if an address does not exist in the partner data and its location is
calculated by interpolating between other known addresses.
Place.Builder label(String label)
The full name and address of the point of interest such as a city, region, or country. For example,
123 Any Street, Any Town, USA.
label - The full name and address of the point of interest such as a city, region, or country. For example,
123 Any Street, Any Town, USA.Place.Builder municipality(String municipality)
A name for a local area, such as a city or town name. For example, Toronto.
municipality - A name for a local area, such as a city or town name. For example, Toronto.Place.Builder neighborhood(String neighborhood)
The name of a community district. For example, Downtown.
neighborhood - The name of a community district. For example, Downtown.Place.Builder postalCode(String postalCode)
A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.
postalCode - A group of numbers and letters in a country-specific format, which accompanies the address for the
purpose of identifying a location.Place.Builder region(String region)
A name for an area or geographical division, such as a province or state name. For example,
British Columbia.
region - A name for an area or geographical division, such as a province or state name. For example,
British Columbia.Place.Builder street(String street)
The name for a street or a road to identify a location. For example, Main Street.
street - The name for a street or a road to identify a location. For example, Main Street.Place.Builder subRegion(String subRegion)
A country, or an area that's part of a larger region. For example, Metro Vancouver.
subRegion - A country, or an area that's part of a larger region. For example, Metro Vancouver.Place.Builder timeZone(TimeZone timeZone)
The time zone in which the Place is located. Returned only when using Here as the selected
partner.
timeZone - The time zone in which the Place is located. Returned only when using Here as the
selected partner.default Place.Builder timeZone(Consumer<TimeZone.Builder> timeZone)
The time zone in which the Place is located. Returned only when using Here as the selected
partner.
TimeZone.Builder avoiding the need to
create one manually via TimeZone.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to timeZone(TimeZone).timeZone - a consumer that will call methods on TimeZone.BuildertimeZone(TimeZone)Copyright © 2022. All rights reserved.