Interface SuggestHighlights.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SuggestHighlights.Builder,
,SuggestHighlights> SdkBuilder<SuggestHighlights.Builder,
,SuggestHighlights> SdkPojo
- Enclosing class:
SuggestHighlights
@Mutable
@NotThreadSafe
public static interface SuggestHighlights.Builder
extends SdkPojo, CopyableBuilder<SuggestHighlights.Builder,SuggestHighlights>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SuggestHighlights.Builder
address
(Consumer<SuggestAddressHighlights.Builder> address) The place's address.address
(SuggestAddressHighlights address) The place's address.title
(Collection<Highlight> title) Indicates the starting and ending index of the title in the text query that match the found title.title
(Consumer<Highlight.Builder>... title) Indicates the starting and ending index of the title in the text query that match the found title.Indicates the starting and ending index of the title in the text query that match the found title.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
-
title
Indicates the starting and ending index of the title in the text query that match the found title.
- Parameters:
title
- Indicates the starting and ending index of the title in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Indicates the starting and ending index of the title in the text query that match the found title.
- Parameters:
title
- Indicates the starting and ending index of the title in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Indicates the starting and ending index of the title in the text query that match the found title.
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 totitle(List<Highlight>)
.- Parameters:
title
- 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:
-
address
The place's address.
- Parameters:
address
- The place's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
The place's address.
This is a convenience method that creates an instance of theSuggestAddressHighlights.Builder
avoiding the need to create one manually viaSuggestAddressHighlights.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddress(SuggestAddressHighlights)
.- Parameters:
address
- a consumer that will call methods onSuggestAddressHighlights.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-