Interface SuggestResultItem.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SuggestResultItem.Builder,,- SuggestResultItem> - SdkBuilder<SuggestResultItem.Builder,,- SuggestResultItem> - SdkPojo
- Enclosing class:
- SuggestResultItem
- 
Method SummaryModifier and TypeMethodDescriptiondefault SuggestResultItem.Builderhighlights(Consumer<SuggestHighlights.Builder> highlights) Describes how the parts of the response element matched the input query by returning the sections of the response which matched to input query terms.highlights(SuggestHighlights highlights) Describes how the parts of the response element matched the input query by returning the sections of the response which matched to input query terms.default SuggestResultItem.Builderplace(Consumer<SuggestPlaceResult.Builder> place) The suggested place by its unique ID.place(SuggestPlaceResult place) The suggested place by its unique ID.default SuggestResultItem.Builderquery(Consumer<SuggestQueryResult.Builder> query) Sets the value of the Query property for this object.query(SuggestQueryResult query) Sets the value of the Query property for this object.suggestResultItemType(String suggestResultItemType) The result type.suggestResultItemType(SuggestResultItemType suggestResultItemType) The result type.The display title that should be used when presenting this option to the end user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
titleThe display title that should be used when presenting this option to the end user. - Parameters:
- title- The display title that should be used when presenting this option to the end user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
suggestResultItemTypeThe result type. Place results represent the final result for a point of interest, Query results represent a follow up query which can be completed through the SearchText operation. - Parameters:
- suggestResultItemType- The result type. Place results represent the final result for a point of interest, Query results represent a follow up query which can be completed through the SearchText operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
suggestResultItemTypeThe result type. Place results represent the final result for a point of interest, Query results represent a follow up query which can be completed through the SearchText operation. - Parameters:
- suggestResultItemType- The result type. Place results represent the final result for a point of interest, Query results represent a follow up query which can be completed through the SearchText operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
placeThe suggested place by its unique ID. - Parameters:
- place- The suggested place by its unique ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
placeThe suggested place by its unique ID. This is a convenience method that creates an instance of theSuggestPlaceResult.Builderavoiding the need to create one manually viaSuggestPlaceResult.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplace(SuggestPlaceResult).- Parameters:
- place- a consumer that will call methods on- SuggestPlaceResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
querySets the value of the Query property for this object.- Parameters:
- query- The new value for the Query property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
querySets the value of the Query property for this object. This is a convenience method that creates an instance of theSuggestQueryResult.Builderavoiding the need to create one manually viaSuggestQueryResult.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquery(SuggestQueryResult).- Parameters:
- query- a consumer that will call methods on- SuggestQueryResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
highlightsDescribes how the parts of the response element matched the input query by returning the sections of the response which matched to input query terms. - Parameters:
- highlights- Describes how the parts of the response element matched the input query by returning the sections of the response which matched to input query terms.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
highlightsDescribes how the parts of the response element matched the input query by returning the sections of the response which matched to input query terms. This is a convenience method that creates an instance of theSuggestHighlights.Builderavoiding the need to create one manually viaSuggestHighlights.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohighlights(SuggestHighlights).- Parameters:
- highlights- a consumer that will call methods on- SuggestHighlights.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-