Interface SuggestAddressHighlights.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SuggestAddressHighlights.Builder,,- SuggestAddressHighlights> - SdkBuilder<SuggestAddressHighlights.Builder,,- SuggestAddressHighlights> - SdkPojo
- Enclosing class:
- SuggestAddressHighlights
- 
Method SummaryModifier and TypeMethodDescriptionlabel(Collection<Highlight> label) Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery.label(Consumer<Highlight.Builder>... label) Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery.Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery.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- 
labelIndicates the starting and ending indexes of the places in the result which were identified to match the textQuery. This result is useful for providing emphasis to results where the user query directly matched to make selecting the correct result from a list easier for an end user. - Parameters:
- label- Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery. This result is useful for providing emphasis to results where the user query directly matched to make selecting the correct result from a list easier for an end user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
labelIndicates the starting and ending indexes of the places in the result which were identified to match the textQuery. This result is useful for providing emphasis to results where the user query directly matched to make selecting the correct result from a list easier for an end user. - Parameters:
- label- Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery. This result is useful for providing emphasis to results where the user query directly matched to make selecting the correct result from a list easier for an end user.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
labelIndicates the starting and ending indexes of the places in the result which were identified to match the textQuery. This result is useful for providing emphasis to results where the user query directly matched to make selecting the correct result from a list easier for an end user. This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabel(List<Highlight>).- Parameters:
- label- a consumer that will call methods on- Highlight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-