Interface SuggestAddressHighlights.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SuggestAddressHighlights.Builder,
,SuggestAddressHighlights> SdkBuilder<SuggestAddressHighlights.Builder,
,SuggestAddressHighlights> SdkPojo
- Enclosing class:
SuggestAddressHighlights
-
Method Summary
Modifier 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- 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.
-
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.
- 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.
-
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.
This is a convenience method that creates an instance of theHighlight.Builder
avoiding the need to create one manually viaHighlight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolabel(List<Highlight>)
.- Parameters:
label
- a consumer that will call methods onHighlight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-