Class SuggestQueryResult
- java.lang.Object
-
- software.amazon.awssdk.services.geoplaces.model.SuggestQueryResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SuggestQueryResult.Builder,SuggestQueryResult>
@Generated("software.amazon.awssdk:codegen") public final class SuggestQueryResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SuggestQueryResult.Builder,SuggestQueryResult>
The suggested query results.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuggestQueryResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuggestQueryResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringqueryId()QueryId can be used to complete a follow up query through the SearchText API.QueryTypequeryType()The query type.StringqueryTypeAsString()The query type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SuggestQueryResult.Builder>serializableBuilderClass()SuggestQueryResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
queryId
public final String queryId()
QueryId can be used to complete a follow up query through the SearchText API. The QueryId retains context from the original Suggest request such as filters, political view and language. See the SearchText API documentation for more details SearchText API docs.
- Returns:
- QueryId can be used to complete a follow up query through the SearchText API. The QueryId retains context from the original Suggest request such as filters, political view and language. See the SearchText API documentation for more details SearchText API docs.
-
queryType
public final QueryType queryType()
The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
If the service returns an enum value that is not available in the current SDK version,
queryTypewill returnQueryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryTypeAsString().- Returns:
- The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
- See Also:
QueryType
-
queryTypeAsString
public final String queryTypeAsString()
The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
If the service returns an enum value that is not available in the current SDK version,
queryTypewill returnQueryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryTypeAsString().- Returns:
- The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
- See Also:
QueryType
-
toBuilder
public SuggestQueryResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SuggestQueryResult.Builder,SuggestQueryResult>
-
builder
public static SuggestQueryResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends SuggestQueryResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-