public static interface SuggestionValue.Builder extends SdkPojo, CopyableBuilder<SuggestionValue.Builder,SuggestionValue>
| Modifier and Type | Method and Description |
|---|---|
default SuggestionValue.Builder |
text(Consumer<SuggestionTextWithHighlights.Builder> text)
The
SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights. |
SuggestionValue.Builder |
text(SuggestionTextWithHighlights text)
The
SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSuggestionValue.Builder text(SuggestionTextWithHighlights text)
The SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights.
text - The SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights.default SuggestionValue.Builder text(Consumer<SuggestionTextWithHighlights.Builder> text)
The SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights.
SuggestionTextWithHighlights.Builder
avoiding the need to create one manually via SuggestionTextWithHighlights.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to text(SuggestionTextWithHighlights).
text - a consumer that will call methods on SuggestionTextWithHighlights.Buildertext(SuggestionTextWithHighlights)Copyright © 2023. All rights reserved.