Interface AutocompleteHighlights.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutocompleteHighlights.Builder,AutocompleteHighlights>,SdkBuilder<AutocompleteHighlights.Builder,AutocompleteHighlights>,SdkPojo
- Enclosing class:
- AutocompleteHighlights
public static interface AutocompleteHighlights.Builder extends SdkPojo, CopyableBuilder<AutocompleteHighlights.Builder,AutocompleteHighlights>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutocompleteHighlights.Builderaddress(Consumer<AutocompleteAddressHighlights.Builder> address)Describes how part of the result address match the input query.AutocompleteHighlights.Builderaddress(AutocompleteAddressHighlights address)Describes how part of the result address match the input query.AutocompleteHighlights.Buildertitle(Collection<Highlight> title)Indicates where the title field in the result matches the input query.AutocompleteHighlights.Buildertitle(Consumer<Highlight.Builder>... title)Indicates where the title field in the result matches the input query.AutocompleteHighlights.Buildertitle(Highlight... title)Indicates where the title field in the result matches the input query.-
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
AutocompleteHighlights.Builder title(Collection<Highlight> title)
Indicates where the title field in the result matches the input query.
- Parameters:
title- Indicates where the title field in the result matches the input query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
AutocompleteHighlights.Builder title(Highlight... title)
Indicates where the title field in the result matches the input query.
- Parameters:
title- Indicates where the title field in the result matches the input query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
AutocompleteHighlights.Builder title(Consumer<Highlight.Builder>... title)
Indicates where the title field in the result matches the input query.
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
AutocompleteHighlights.Builder address(AutocompleteAddressHighlights address)
Describes how part of the result address match the input query.
- Parameters:
address- Describes how part of the result address match the input query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
default AutocompleteHighlights.Builder address(Consumer<AutocompleteAddressHighlights.Builder> address)
Describes how part of the result address match the input query.
This is a convenience method that creates an instance of theAutocompleteAddressHighlights.Builderavoiding the need to create one manually viaAutocompleteAddressHighlights.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(AutocompleteAddressHighlights).- Parameters:
address- a consumer that will call methods onAutocompleteAddressHighlights.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
address(AutocompleteAddressHighlights)
-
-