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 |
categories(Collection<String> categories)
The Amazon Location categories that describe this Place.
|
Place.Builder |
categories(String... categories)
The Amazon Location categories that describe this Place.
|
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 county, or an area that's part of a larger region.
|
Place.Builder |
supplementalCategories(Collection<String> supplementalCategories)
Categories from the data provider that describe the Place that are not mapped to any Amazon Location
categories.
|
Place.Builder |
supplementalCategories(String... supplementalCategories)
Categories from the data provider that describe the Place that are not mapped to any Amazon Location
categories.
|
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. |
Place.Builder |
unitNumber(String unitNumber)
For addresses with multiple units, the unit identifier.
|
Place.Builder |
unitType(String unitType)
For addresses with a
UnitNumber, the type of unit. |
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 categories(Collection<String> categories)
The Amazon Location categories that describe this Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
categories - The Amazon Location categories that describe this Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
Place.Builder categories(String... categories)
The Amazon Location categories that describe this Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
categories - The Amazon Location categories that describe this Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
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 county, or an area that's part of a larger region. For example, Metro Vancouver.
subRegion - A county, or an area that's part of a larger region. For example, Metro Vancouver.Place.Builder supplementalCategories(Collection<String> supplementalCategories)
Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.
supplementalCategories - Categories from the data provider that describe the Place that are not mapped to any Amazon Location
categories.Place.Builder supplementalCategories(String... supplementalCategories)
Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.
supplementalCategories - Categories from the data provider that describe the Place that are not mapped to any Amazon Location
categories.Place.Builder timeZone(TimeZone timeZone)
The time zone in which the Place is located. Returned only when using HERE or Grab as the
selected partner.
timeZone - The time zone in which the Place is located. Returned only when using HERE or Grab 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 or Grab 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)Place.Builder unitNumber(String unitNumber)
For addresses with multiple units, the unit identifier. Can include numbers and letters, for example
3B or Unit 123.
Returned only for a place index that uses Esri or Grab as a data provider. Is not returned for
SearchPlaceIndexForPosition.
unitNumber - For addresses with multiple units, the unit identifier. Can include numbers and letters, for example
3B or Unit 123.
Returned only for a place index that uses Esri or Grab as a data provider. Is not returned for
SearchPlaceIndexForPosition.
Place.Builder unitType(String unitType)
For addresses with a UnitNumber, the type of unit. For example, Apartment.
Returned only for a place index that uses Esri as a data provider.
unitType - For addresses with a UnitNumber, the type of unit. For example, Apartment
. Returned only for a place index that uses Esri as a data provider.
Copyright © 2023. All rights reserved.