@Generated(value="software.amazon.awssdk:codegen") public final class Place extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Place.Builder,Place>
Contains details about addresses or points of interest that match the search criteria.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Place.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
addressNumber()
The numerical portion of an address, such as a building number.
|
static Place.Builder |
builder() |
String |
country()
A country/region specified using ISO 3166 3-digit
country/region code.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
PlaceGeometry |
geometry()
Returns the value of the Geometry property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
label()
The full name and address of the point of interest such as a city, region, or country.
|
String |
municipality()
A name for a local area, such as a city or town name.
|
String |
neighborhood()
The name of a community district.
|
String |
postalCode()
A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of
identifying a location.
|
String |
region()
A name for an area or geographical division, such as a province or state name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Place.Builder> |
serializableBuilderClass() |
String |
street()
The name for a street or a road to identify a location.
|
String |
subRegion()
A country, or an area that's part of a larger region .
|
Place.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String addressNumber()
The numerical portion of an address, such as a building number.
public final String country()
A country/region specified using ISO 3166 3-digit
country/region code. For example, CAN.
CAN.public final PlaceGeometry geometry()
public final 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.
123 Any Street, Any Town, USA.public final String municipality()
A name for a local area, such as a city or town name. For example, Toronto.
Toronto.public final String neighborhood()
The name of a community district. For example, Downtown.
Downtown.public final String postalCode()
A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.
public final String region()
A name for an area or geographical division, such as a province or state name. For example,
British Columbia.
British Columbia.public final String street()
The name for a street or a road to identify a location. For example, Main Street.
Main Street.public final String subRegion()
A country, or an area that's part of a larger region . For example, Metro Vancouver.
Metro Vancouver.public Place.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Place.Builder,Place>public static Place.Builder builder()
public static Class<? extends Place.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.