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.BuilderDescribes 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,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.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:
-