@Generated(value="software.amazon.awssdk:codegen") public final class SearchPlaceIndexForTextSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchPlaceIndexForTextSummary.Builder,SearchPlaceIndexForTextSummary>
A summary of the geocoding request sent using SearchPlaceIndexForText.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchPlaceIndexForTextSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Double> |
biasPosition()
Contains the coordinates for the bias position entered in the geocoding request.
|
static SearchPlaceIndexForTextSummary.Builder |
builder() |
String |
dataSource()
The data provider of geospatial data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Double> |
filterBBox()
Contains the coordinates for the optional bounding box coordinated entered in the geocoding request.
|
List<String> |
filterCountries()
Contains the country filter entered in the geocoding request.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBiasPosition()
For responses, this returns true if the service returned a value for the BiasPosition property.
|
boolean |
hasFilterBBox()
For responses, this returns true if the service returned a value for the FilterBBox property.
|
boolean |
hasFilterCountries()
For responses, this returns true if the service returned a value for the FilterCountries property.
|
int |
hashCode() |
boolean |
hasResultBBox()
For responses, this returns true if the service returned a value for the ResultBBox property.
|
Integer |
maxResults()
Contains the maximum number of results indicated for the request.
|
List<Double> |
resultBBox()
A bounding box that contains the search results within the specified area indicated by
FilterBBox. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchPlaceIndexForTextSummary.Builder> |
serializableBuilderClass() |
String |
text()
The address, name, city or region to be used in the geocoding request.
|
SearchPlaceIndexForTextSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasBiasPosition()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Double> biasPosition()
Contains the coordinates for the bias position entered in the geocoding request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBiasPosition() method.
public final String dataSource()
The data provider of geospatial data. Indicates one of the available providers:
Esri
HERE
For additional details on data providers, see Amazon Location Service data providers.
Esri
HERE
For additional details on data providers, see Amazon Location Service data providers.
public final boolean hasFilterBBox()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Double> filterBBox()
Contains the coordinates for the optional bounding box coordinated entered in the geocoding request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFilterBBox() method.
public final boolean hasFilterCountries()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> filterCountries()
Contains the country filter entered in the geocoding request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFilterCountries() method.
public final Integer maxResults()
Contains the maximum number of results indicated for the request.
public final boolean hasResultBBox()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Double> resultBBox()
A bounding box that contains the search results within the specified area indicated by FilterBBox. A
subset of bounding box specified using FilterBBox.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResultBBox() method.
FilterBBox. A subset of bounding box specified using FilterBBox.public final String text()
The address, name, city or region to be used in the geocoding request. In free-form text format. For example,
Vancouver.
Vancouver.public SearchPlaceIndexForTextSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchPlaceIndexForTextSummary.Builder,SearchPlaceIndexForTextSummary>public static SearchPlaceIndexForTextSummary.Builder builder()
public static Class<? extends SearchPlaceIndexForTextSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.