Interface SuggestAddressHighlights.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuggestAddressHighlights.Builder,SuggestAddressHighlights>,SdkBuilder<SuggestAddressHighlights.Builder,SuggestAddressHighlights>,SdkPojo
- Enclosing class:
- SuggestAddressHighlights
public static interface SuggestAddressHighlights.Builder extends SdkPojo, CopyableBuilder<SuggestAddressHighlights.Builder,SuggestAddressHighlights>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SuggestAddressHighlights.Builderlabel(Collection<Highlight> label)Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery.SuggestAddressHighlights.Builderlabel(Consumer<Highlight.Builder>... label)Indicates the starting and ending indexes of the places in the result which were identified to match the textQuery.SuggestAddressHighlights.Builderlabel(Highlight... label)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 Detail
-
label
SuggestAddressHighlights.Builder label(Collection<Highlight> 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
SuggestAddressHighlights.Builder label(Highlight... 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
SuggestAddressHighlights.Builder label(Consumer<Highlight.Builder>... 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.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#label(List.) - 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:
#label(java.util.Collection)
-
-