Interface AutocompleteHighlights.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutocompleteHighlights.Builder,
,AutocompleteHighlights> SdkBuilder<AutocompleteHighlights.Builder,
,AutocompleteHighlights> SdkPojo
- Enclosing class:
AutocompleteHighlights
@Mutable
@NotThreadSafe
public static interface AutocompleteHighlights.Builder
extends SdkPojo, CopyableBuilder<AutocompleteHighlights.Builder,AutocompleteHighlights>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AutocompleteHighlights.Builder
Describes how part of the result address match the input query.address
(AutocompleteAddressHighlights address) Describes how part of the result address match the input query.title
(Collection<Highlight> title) Indicates where the title field in the result matches the input query.title
(Consumer<Highlight.Builder>... title) Indicates where the title field in the result matches the input query.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 Details
-
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
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
Indicates where the title field in the result matches the input query.
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
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.Builder
avoiding the need to create one manually viaAutocompleteAddressHighlights.builder()
.When the
Consumer
completes,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:
-