@Generated(value="software.amazon.awssdk:codegen") public final class SearchForSuggestionsResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchForSuggestionsResult.Builder,SearchForSuggestionsResult>
Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchForSuggestionsResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SearchForSuggestionsResult.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
placeId()
The unique identifier of the place.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchForSuggestionsResult.Builder> |
serializableBuilderClass() |
String |
text()
The text of the place suggestion, typically formatted as an address string.
|
SearchForSuggestionsResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String placeId()
The unique identifier of the place. You can use this with the GetPlace operation to find the place
again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes
that use Esri, Grab, or HERE as data providers.
GetPlace operation to find the
place again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place
indexes that use Esri, Grab, or HERE as data providers.
public final String text()
The text of the place suggestion, typically formatted as an address string.
public SearchForSuggestionsResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchForSuggestionsResult.Builder,SearchForSuggestionsResult>public static SearchForSuggestionsResult.Builder builder()
public static Class<? extends SearchForSuggestionsResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.