Interface SuggestHighlights.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuggestHighlights.Builder,SuggestHighlights>,SdkBuilder<SuggestHighlights.Builder,SuggestHighlights>,SdkPojo
- Enclosing class:
- SuggestHighlights
public static interface SuggestHighlights.Builder extends SdkPojo, CopyableBuilder<SuggestHighlights.Builder,SuggestHighlights>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SuggestHighlights.Builderaddress(Consumer<SuggestAddressHighlights.Builder> address)The place's address.SuggestHighlights.Builderaddress(SuggestAddressHighlights address)The place's address.SuggestHighlights.Buildertitle(Collection<Highlight> title)Indicates the starting and ending index of the title in the text query that match the found title.SuggestHighlights.Buildertitle(Consumer<Highlight.Builder>... title)Indicates the starting and ending index of the title in the text query that match the found title.SuggestHighlights.Buildertitle(Highlight... 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 Detail
-
title
SuggestHighlights.Builder title(Collection<Highlight> 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
SuggestHighlights.Builder title(Highlight... 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
SuggestHighlights.Builder title(Consumer<Highlight.Builder>... 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.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#title(List.) - 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:
#title(java.util.Collection)
-
address
SuggestHighlights.Builder address(SuggestAddressHighlights 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
default SuggestHighlights.Builder address(Consumer<SuggestAddressHighlights.Builder> address)
The place's address.
This is a convenience method that creates an instance of theSuggestAddressHighlights.Builderavoiding the need to create one manually viaSuggestAddressHighlights.builder().When the
Consumercompletes,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:
address(SuggestAddressHighlights)
-
-